Don't pass duplicate arguments from download to play
This commit is contained in:
parent
ba48e52fb1
commit
8c8e913242
1 changed files with 2 additions and 2 deletions
|
@ -320,8 +320,8 @@ class MediaWebtorrentPlugin(MediaPlugin):
|
|||
|
||||
|
||||
@action
|
||||
def download(resource, *args, **kwargs):
|
||||
return self.play(resource, download_only=True, *args, **kwargs)
|
||||
def download(resource):
|
||||
return self.play(resource=resource, download_only=True)
|
||||
|
||||
|
||||
@action
|
||||
|
|
Loading…
Reference in a new issue