fixxed logger for config load

This commit is contained in:
oberon 2026-02-16 20:11:02 +01:00
parent 42b91f60af
commit 831433ec82

View File

@ -61,6 +61,8 @@ def control_page():
# Globale Sounds immer laden
global_sounds = load_default_sounds()
logger.info(f"Steuerseite geladen für Config: {current_config.get('filename', 'unbekannt')} mit {len(current_config.get('channels', []))} Kanälen")
logger.info(f"Übergebe config an Template: {current_config}")
print("DEBUG: config hat channels?", 'channels' in current_config, len(current_config.get('channels', [])))
@ -75,5 +77,3 @@ def soundboard():
sounds = current_config.get('sounds', [])
return render_template('soundboard.html', sounds=sounds, config=current_config)
pass
logger.info(f"Config geladen: {filename} mit {len(current_config.get('channels', []))} Kanälen")