fixxed logger for config load
This commit is contained in:
parent
42b91f60af
commit
831433ec82
@ -61,6 +61,8 @@ def control_page():
|
|||||||
# Globale Sounds immer laden
|
# Globale Sounds immer laden
|
||||||
global_sounds = load_default_sounds()
|
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}")
|
logger.info(f"Übergebe config an Template: {current_config}")
|
||||||
print("DEBUG: config hat channels?", 'channels' in current_config, len(current_config.get('channels', [])))
|
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', [])
|
sounds = current_config.get('sounds', [])
|
||||||
return render_template('soundboard.html', sounds=sounds, config=current_config)
|
return render_template('soundboard.html', sounds=sounds, config=current_config)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
logger.info(f"Config geladen: {filename} mit {len(current_config.get('channels', []))} Kanälen")
|
|
||||||
Loading…
x
Reference in New Issue
Block a user