From 4899b7f212373e7c31ba1a7647ef009825c022aa Mon Sep 17 00:00:00 2001 From: PC-Admin Date: Thu, 17 Aug 2023 23:48:15 +0800 Subject: [PATCH] logging refactor 3 --- redlight_server_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redlight_server_module.py b/redlight_server_module.py index a7c1809..7fb8da9 100755 --- a/redlight_server_module.py +++ b/redlight_server_module.py @@ -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.