mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
[CONFIG] Debug to print if not on windows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user