[CONFIG] Debug to print if not on windows

This commit is contained in:
Alexis LEBEL
2023-04-02 14:23:12 +02:00
parent 506be81afb
commit 187b833474

View File

@@ -20,6 +20,8 @@ def debug(message):
# if the os is windows, we logging.info(message), if # if the os is windows, we logging.info(message), if
if os.name == "nt": if os.name == "nt":
logging.info(message) logging.info(message)
else:
printf(message)
# connect to the database # connect to the database