Make config loading silent
This commit is contained in:
parent
e7b24a3e75
commit
f4e2ace7b0
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from flask_sqlalchemy import SQLAlchemy
|
|||
|
||||
app = FlaskAPI(__name__, instance_relative_config=True)
|
||||
app.config.from_object('config')
|
||||
app.config.from_pyfile('config.py')
|
||||
app.config.from_pyfile('config.py', silent=True)
|
||||
db = SQLAlchemy(app)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue