Utilisation du logger global dans app et db

This commit is contained in:
Colin Maudry
2026-04-18 19:28:34 +02:00
parent 600567330f
commit a7516d65e3
3 changed files with 10 additions and 18 deletions
+3 -1
View File
@@ -13,5 +13,7 @@ if DEVELOPMENT:
logger.setLevel(logging.DEBUG)
DOMAIN_NAME = (
"test.decp.info" if os.getenv("DEVELOPMENT").lower() == "true" else "decp.info"
"test.decp.info"
if os.getenv("DEVELOPMENT", "False").lower() == "true"
else "decp.info"
)