1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00
This commit is contained in:
MarkParker5 2021-02-27 14:33:13 +02:00
parent 96f1600477
commit a58da1e37d

View File

@ -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)