Make config loading silent
parent
e7b24a3e75
commit
f4e2ace7b0
|
@ -4,7 +4,7 @@ from flask_sqlalchemy import SQLAlchemy
|
||||||
|
|
||||||
app = FlaskAPI(__name__, instance_relative_config=True)
|
app = FlaskAPI(__name__, instance_relative_config=True)
|
||||||
app.config.from_object('config')
|
app.config.from_object('config')
|
||||||
app.config.from_pyfile('config.py')
|
app.config.from_pyfile('config.py', silent=True)
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue