Dissociate DEBUG variables

This commit is contained in:
2026-08-23 17:48:04 +02:00
parent 3c50fc4d0e
commit fe31ac978a
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from shared.config import DEBUG
from shared.config import DEBUG_MESSAGES
def log(message):
"""Log a message to the console if DEBUG is enabled."""
if DEBUG:
if DEBUG_MESSAGES:
print(f"\n{message}")