diff --git a/app/routes/__pycache__/api.cpython-314.pyc b/app/routes/__pycache__/api.cpython-314.pyc index 4395750..366cb64 100644 Binary files a/app/routes/__pycache__/api.cpython-314.pyc and b/app/routes/__pycache__/api.cpython-314.pyc differ diff --git a/app/routes/api.py b/app/routes/api.py index 8f9a130..6ba9bfd 100644 --- a/app/routes/api.py +++ b/app/routes/api.py @@ -428,8 +428,9 @@ def api_soundboard_auto_start(): if dmax < dmin: dmax = dmin delay = rand_between(dmin, dmax) * 60 + # erst laufenden Timer stoppen, bevor wir Lock nehmen + _stop_auto_random_internal() with auto_random_lock: - _stop_auto_random_internal() state.auto_random_active = True auto_random_params['imin'] = imin auto_random_params['imax'] = imax