From 8b90dc2c3d3ea89ff8b0391fe183a70bbdc8e113 Mon Sep 17 00:00:00 2001 From: Charles Le Maux Date: Thu, 12 Sep 2024 14:10:14 +0200 Subject: [PATCH] [-] log_error -> synchronous --- file_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_manager.py b/file_manager.py index 9b0f400..fff5cef 100644 --- a/file_manager.py +++ b/file_manager.py @@ -64,7 +64,7 @@ def update_server_property(file_path, property_name, new_value): file.writelines(content) -async def log_error(error_type: str, error_message: str): +def log_error(error_type: str, error_message: str): logging.basicConfig(filename='logs.txt', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S')