flask 0.11 compatibility
This commit is contained in:
parent
0675ad9c85
commit
a747b9505d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue