mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-06 02:30:50 -08:00
Fix Python2 syntax error #1000
This commit is contained in:
parent
eb0689c2a5
commit
abf8bbe15c
1 changed files with 2 additions and 1 deletions
|
|
@ -297,7 +297,8 @@ class XbmcPlugin(AbstractPlugin):
|
|||
return succeeded
|
||||
|
||||
@staticmethod
|
||||
def post_run(context, ui, *actions, timeout=30):
|
||||
def post_run(context, ui, *actions, **kwargs):
|
||||
timeout = kwargs.get('timeout', 30)
|
||||
for action in actions:
|
||||
while ui.busy_dialog_active():
|
||||
timeout -= 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue