mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
fix
This commit is contained in:
parent
96f1600477
commit
a58da1e37d
@ -13,7 +13,7 @@ def method(params):
|
||||
if shedule:
|
||||
voice = voice + ' Расписание на сегодня: ' + shedule
|
||||
while True:
|
||||
if os.popen('echo \'pow 0.0.0.0\' | cec-client -s -d 1 |grep power').read() == 'power status: on':
|
||||
if os.popen('echo \'pow 0.0.0.0\' | cec-client -s -d 1 |grep power').read() == 'power status: on\n':
|
||||
break
|
||||
return Response(text = text, voice = voice)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user