You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-07-12 22:50:22 +02:00
fix
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user