mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
bugfix
This commit is contained in:
parent
4e038efd38
commit
5bb93bbbe1
@ -51,8 +51,9 @@ def start(params):
|
||||
name = params.get('text')
|
||||
voice = text = 'Не могу найти фильм'
|
||||
if name:
|
||||
if url:= extractUrl(findFilm(name)):
|
||||
startFilm(url)
|
||||
url, title = extractUrl(findFilm(name))
|
||||
if url:
|
||||
startFilm(url, title.strip())
|
||||
voice = text = 'Включаю'
|
||||
return {
|
||||
'type': 'simple',
|
||||
|
Loading…
Reference in New Issue
Block a user