Make config loading silent

master
esensar 2018-05-03 20:55:16 +02:00
parent e7b24a3e75
commit f4e2ace7b0
1 changed files with 1 additions and 1 deletions

View File

@ -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)