transitous rewrite: announcer improvements

This commit is contained in:
Kaaninchen
2026-08-16 17:33:18 +02:00
parent c563062b9a
commit 2ec38c1874
2 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ def get_sound_path(destination) -> str | None:
announcement_for = destination
else:
general_config = voice_stations.get("general", "")
if general_config == "":
if not general_config:
return None
announcement_for = "general"