1
0
mirror of https://github.com/janvarev/Irene-Voice-Assistant.git synced 2025-11-23 22:45:08 +02:00

таймер корректно отрабатывает числа из SpeechRecognition

This commit is contained in:
janvarev
2021-12-15 20:26:10 +03:00
parent 065e3b201e
commit 7ced8f235c

View File

@@ -95,7 +95,7 @@ def set_timer(core:VACore, phrase:str):
set_timer_real(core,i*60,txt)
return
txt3 = str(i)
txt3 = str(i)+" "
if phrase.startswith(txt3):
#print(txt,txt2)
set_timer_real(core,i*60,txt)