server_microphone.py aktualisiert

This commit is contained in:
2026-02-08 17:44:20 +00:00
parent abfdc81f4a
commit 7501d0fb1e

View File

@@ -99,7 +99,7 @@ async def run_test():
pixels.off()
subprocess.Popen(["sh", "/home/pi/tagesschau/end_news.sh"])
run_stop_only_once_flag = False
if "result" in finalResult:
if "result" in finalResult and not run_stop_only_once_flag:
run_stop_only_once_flag = True
pixels.think()
time.sleep(1)