Make config loading silent

This commit is contained in:
esensar 2018-05-03 20:55:16 +02:00
parent e7b24a3e75
commit f4e2ace7b0

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)