From d5c5fe075d886f5499359e7ae6526b81b4b2d15f Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Fri, 3 Jun 2022 10:07:35 -0400 Subject: [PATCH] We were running the config twice --- crc/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/crc/__init__.py b/crc/__init__.py index 5daf142b..f602ebb0 100644 --- a/crc/__init__.py +++ b/crc/__init__.py @@ -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)