fixxes over codex

This commit is contained in:
2026-02-16 20:38:51 +01:00
parent fee6d40b04
commit 37747d0614
5 changed files with 51 additions and 20 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
@main_bp.route('/')
def index():
configs = load_configs()
configs = load_configs(current_app.config['CONFIG_DIR'])
return render_template('index.html', configs=configs)
"""
@@ -67,7 +67,7 @@ def control_page():
return redirect(url_for('main.index'))
# Globale Sounds immer laden
global_sounds = load_default_sounds()
global_sounds = load_default_sounds(current_app.config['CONFIG_DIR'])
logger.info(f"Steuerseite geladen für Config: {current_config.get('filename', 'unbekannt')} mit {len(current_config.get('channels', []))} Kanälen")