aboutsummaryrefslogtreecommitdiff
path: root/qc_app/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/__init__.py')
-rw-r--r--qc_app/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/__init__.py b/qc_app/__init__.py
index e44f471..43831d8 100644
--- a/qc_app/__init__.py
+++ b/qc_app/__init__.py
@@ -21,8 +21,8 @@ def override_settings_with_envvars(
def create_app():
"""The application factory"""
app = Flask(__name__)
- app.config.from_pyfile(os.path.join(
- Path(__file__).parent.parent, "etc/default_config.py"))
+ app.config.from_pyfile(
+ Path(__file__).parent.joinpath("default_settings.py"))
if "QCAPP_CONF" in os.environ:
app.config.from_envvar("QCAPP_CONF") # Override defaults with instance path