diff --git a/app/routes/main.py b/app/routes/main.py index 974b40a..d81fb5c 100644 --- a/app/routes/main.py +++ b/app/routes/main.py @@ -60,6 +60,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") \ No newline at end of file