From f201f62e7123940cd312f43eb8f4105e38813c0e Mon Sep 17 00:00:00 2001 From: oberon Date: Mon, 16 Feb 2026 20:16:38 +0100 Subject: [PATCH] fixxes main.py .config --- app/routes/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/main.py b/app/routes/main.py index d81fb5c..5e134e4 100644 --- a/app/routes/main.py +++ b/app/routes/main.py @@ -32,7 +32,7 @@ def serve_config_file(filename): @main_bp.route('/load_config/') def load_config(filename): global current_config - path = os.path.join(app.config['CONFIG_DIR'], filename) + path = os.path.join(current_app.config['CONFIG_DIR'], filename) if not os.path.exists(path): logger.error(f"Config nicht gefunden: {path}")