diff --git a/src/logic/log.py b/src/logic/log.py index c8051a9..84a7d73 100644 --- a/src/logic/log.py +++ b/src/logic/log.py @@ -3,8 +3,9 @@ import os if not os.path.exists("logs"): os.mkdir("logs") -with open("logs/application.log", "w") as f: - pass +#open and close the file to create it + with open("logs/application.log", "w") as f: + pass # Create a common file handler for all loggers common_file_handler = logging.FileHandler("logs/application.log")