diff --git a/platypush/plugins/media/webtorrent.py b/platypush/plugins/media/webtorrent.py index 3b2703f4..55fd5d23 100644 --- a/platypush/plugins/media/webtorrent.py +++ b/platypush/plugins/media/webtorrent.py @@ -320,8 +320,8 @@ class MediaWebtorrentPlugin(MediaPlugin): @action - def download(resource): - return self.play(resource=resource, download_only=True) + def download(self, resource): + return self.play(resource, download_only=True) @action