mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16: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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user