forked from platypush/platypush
Encoding POST data as bytes
This commit is contained in:
parent
02f6e163bf
commit
6135089d60
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class VideoTorrentcastPlugin(Plugin):
|
||||||
'http://{}:{}/play/'.format(self.server, self.port),
|
'http://{}:{}/play/'.format(self.server, self.port),
|
||||||
data=urllib.parse.urlencode({
|
data=urllib.parse.urlencode({
|
||||||
'url': url
|
'url': url
|
||||||
})
|
}).encode()
|
||||||
)
|
)
|
||||||
|
|
||||||
self.playing = True
|
self.playing = True
|
||||||
|
|
Loading…
Reference in a new issue