From c4302e9b13724196391278151a9feabef80eab5f Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 27 Nov 2015 12:28:21 +0100 Subject: [PATCH] Move SQLALCHEMY_ECHO to right place. --- accountant/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant/__init__.py b/accountant/__init__.py index ad9c223..b6ad0a6 100644 --- a/accountant/__init__.py +++ b/accountant/__init__.py @@ -22,9 +22,9 @@ from flask.ext.assets import Environment # The app app = Flask(__name__, static_folder=None) -app.config['SQLALCHEMY_ECHO'] = app.debug app.config.from_pyfile('config.cfg') +app.config['SQLALCHEMY_ECHO'] = app.debug db = SQLAlchemy(app)