next fixxes
This commit is contained in:
parent
122e071169
commit
6809f15ccd
@ -1,4 +1,6 @@
|
|||||||
# app/routes/main.py
|
# app/routes/main.py
|
||||||
|
import os
|
||||||
|
|
||||||
from flask import Blueprint, render_template, redirect, url_for, request, jsonify, send_from_directory, current_app
|
from flask import Blueprint, render_template, redirect, url_for, request, jsonify, send_from_directory, current_app
|
||||||
from app.utils.helpers import load_configs, load_default_sounds
|
from app.utils.helpers import load_configs, load_default_sounds
|
||||||
from app.state import current_config, reset_state
|
from app.state import current_config, reset_state
|
||||||
@ -69,4 +71,6 @@ 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