server_microphone.py aktualisiert
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user