From 6135089d60302268631669cab96019eaf5d007af Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 19 Apr 2018 23:46:47 +0200 Subject: [PATCH] Encoding POST data as bytes --- platypush/plugins/video/torrentcast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/video/torrentcast.py b/platypush/plugins/video/torrentcast.py index 72072698c..0fb40b6c4 100644 --- a/platypush/plugins/video/torrentcast.py +++ b/platypush/plugins/video/torrentcast.py @@ -19,7 +19,7 @@ class VideoTorrentcastPlugin(Plugin): 'http://{}:{}/play/'.format(self.server, self.port), data=urllib.parse.urlencode({ 'url': url - }) + }).encode() ) self.playing = True