From 187b833474dc6b90d516059f998f8df18d387c96 Mon Sep 17 00:00:00 2001 From: Alexis LEBEL Date: Sun, 2 Apr 2023 14:23:12 +0200 Subject: [PATCH] [CONFIG] Debug to print if not on windows --- code/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/config.py b/code/config.py index b40ce1f..f649128 100644 --- a/code/config.py +++ b/code/config.py @@ -20,6 +20,8 @@ def debug(message): # if the os is windows, we logging.info(message), if if os.name == "nt": logging.info(message) + else: + printf(message) # connect to the database