From 4f5118d7059fb4d8c25ee3862347a49aae276afb Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 21 Oct 2020 22:23:47 +0200 Subject: [PATCH] Oups, forgot to remove after debugging session --- pynyaata/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynyaata/config.py b/pynyaata/config.py index 4f174e4..a9f4a36 100644 --- a/pynyaata/config.py +++ b/pynyaata/config.py @@ -37,7 +37,7 @@ if db_host: db_user, db_password, db_host, db_name ) app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True - app.config['SQLALCHEMY_ECHO'] = False + app.config['SQLALCHEMY_ECHO'] = IS_DEBUG app.config['SQLALCHEMY_ENGINE_OPTIONS'] = { 'pool_recycle': 200 }