server_microphone.py aktualisiert
This commit is contained in:
@@ -99,7 +99,7 @@ async def run_test():
|
|||||||
pixels.off()
|
pixels.off()
|
||||||
subprocess.Popen(["sh", "/home/pi/tagesschau/end_news.sh"])
|
subprocess.Popen(["sh", "/home/pi/tagesschau/end_news.sh"])
|
||||||
run_stop_only_once_flag = False
|
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
|
run_stop_only_once_flag = True
|
||||||
pixels.think()
|
pixels.think()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user