flask 0.11 compatibility

This commit is contained in:
Stephane Martin 2016-09-05 23:19:28 +02:00
parent 0675ad9c85
commit a747b9505d

View file

@ -214,7 +214,6 @@ def create_app(config=None):
if app.config.get('DB_URI'): if app.config.get('DB_URI'):
db.metadata.create_all(db.get_engine(app)) db.metadata.create_all(db.get_engine(app))
return app return app
# Init plugins here if possible # Init plugins here if possible