From dfd855acbf302e2d3b323f292da27796305fac76 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 28 Feb 2024 10:24:11 +0300 Subject: Remove last vestiges of flask's "instance path" configurations. --- qc_app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qc_app') diff --git a/qc_app/__init__.py b/qc_app/__init__.py index 045572c..b40ec46 100644 --- a/qc_app/__init__.py +++ b/qc_app/__init__.py @@ -17,7 +17,7 @@ def override_settings_with_envvars( for setting in (key for key in app.config if key not in ignore): app.config[setting] = os.environ.get(setting) or app.config[setting] -def create_app(instance_dir): +def create_app(): """The application factory""" app = Flask(__name__) app.config.from_pyfile(os.path.join(os.getcwd(), "etc/default_config.py")) -- cgit v1.2.3