logging refactor 3

This commit is contained in:
PC-Admin 2023-08-17 23:48:15 +08:00
parent c0419eec24
commit 4899b7f212

View File

@ -20,8 +20,8 @@ class SourceDataManager:
self._filtered_tags = config.get("filtered_tags", [])
self._source_dict = {}
self._source_dict_last_update = None
self.update_data()
self.logger = configure_logger()
self.update_data()
def fetch_file_from_gitea(self, repo_url, token, file_path):
# Construct the API URL for the file.