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')