From 8c8e91324291f510b83e2e9da51be4104db82af4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 5 Feb 2019 16:34:48 +0100 Subject: [PATCH] Don't pass duplicate arguments from download to play --- platypush/plugins/media/webtorrent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/media/webtorrent.py b/platypush/plugins/media/webtorrent.py index 313b6cc13..3b2703f4a 100644 --- a/platypush/plugins/media/webtorrent.py +++ b/platypush/plugins/media/webtorrent.py @@ -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