update config var name

This commit is contained in:
PC-Admin 2023-08-23 22:01:49 +08:00
parent e64e787d3a
commit dfb6c4477c

View File

@ -33,7 +33,7 @@ class SourceDataManager:
self._source_repo_url = config.get("redlight_source_repo_url", "") self._source_repo_url = config.get("redlight_source_repo_url", "")
self._git_token = config.get("redlight_git_token", "") self._git_token = config.get("redlight_git_token", "")
self._source_list_file_path = config.get("redlight_source_list_file_path", "dist/summaries.json") self._source_list_file_path = config.get("redlight_source_list_file_path", "dist/summaries.json")
self._filtered_tags = config.get("filtered_tags", []) self._filtered_tags = config.get("redlight_filtered_tags", [])
self._source_dict = {} self._source_dict = {}
self._source_dict_last_update = None self._source_dict_last_update = None
self.update_data() self.update_data()