Cleans up debugging config print
This commit is contained in:
parent
6b71bfaa9f
commit
00312d244a
|
@ -46,4 +46,5 @@ print('=== USING DEFAULT CONFIG: ===')
|
||||||
print('DB_HOST = ', DB_HOST)
|
print('DB_HOST = ', DB_HOST)
|
||||||
print('DEVELOPMENT = ', DEVELOPMENT)
|
print('DEVELOPMENT = ', DEVELOPMENT)
|
||||||
print('TESTING = ', TESTING)
|
print('TESTING = ', TESTING)
|
||||||
|
print('PRODUCTION = ', PRODUCTION)
|
||||||
print('PB_BASE_URL = ', PB_BASE_URL)
|
print('PB_BASE_URL = ', PB_BASE_URL)
|
||||||
|
|
|
@ -22,8 +22,6 @@ else:
|
||||||
app.config.root_path = app.instance_path
|
app.config.root_path = app.instance_path
|
||||||
app.config.from_pyfile('config.py', silent=True)
|
app.config.from_pyfile('config.py', silent=True)
|
||||||
|
|
||||||
print(app.config)
|
|
||||||
|
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
""":type: sqlalchemy.orm.SQLAlchemy"""
|
""":type: sqlalchemy.orm.SQLAlchemy"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue