mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
We were running the config twice
This commit is contained in:
parent
686af32b22
commit
d5c5fe075d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user