commentaire sur les prints
This commit is contained in:
parent
81198bb3f8
commit
fab4592d4a
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ def create_app(flask_env='development'):
|
||||||
if app.config['SQLALCHEMY_DATABASE_URI_1'] is None or app.config['SQLALCHEMY_DATABASE_URI_2'] is None:
|
if app.config['SQLALCHEMY_DATABASE_URI_1'] is None or app.config['SQLALCHEMY_DATABASE_URI_2'] is None:
|
||||||
print('No ENV Variable for DATABASE_URL_USERS or DATABASE_URL_LOGS')
|
print('No ENV Variable for DATABASE_URL_USERS or DATABASE_URL_LOGS')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
#else:
|
else:
|
||||||
# print('ENV Variables passed : ', app.config['SQLALCHEMY_BINDS'])
|
print('ENV Variables passed : ', app.config['SQLALCHEMY_BINDS'])
|
||||||
|
|
||||||
print('init_app')
|
print('init_app')
|
||||||
db.init_app(app)
|
db.init_app(app)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue