We were running the config twice

This commit is contained in:
mike cullerton 2022-06-03 10:07:35 -04:00
parent 686af32b22
commit d5c5fe075d

View File

@ -27,7 +27,6 @@ app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1) # respect the X-Forwarded-Prot
app.config.from_object('config.default')
if "TESTING" in os.environ and os.environ["TESTING"] == "true":
app.config.from_object('config.testing')
app.config.from_pyfile('../config/testing.py')
import logging
logging.basicConfig(level=logging.INFO)