mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Travis
Not sure why Travis failed, let's try again
This commit is contained in:
@@ -283,6 +283,7 @@ def _add_torrent_file(result):
|
|||||||
if not any(delugeweb_auth):
|
if not any(delugeweb_auth):
|
||||||
_get_auth()
|
_get_auth()
|
||||||
|
|
||||||
|
# content is already base64 encoded
|
||||||
post_data = json.dumps({"method": "core.add_torrent_file",
|
post_data = json.dumps({"method": "core.add_torrent_file",
|
||||||
"params": [result['name'] + '.torrent', result['content'], {}],
|
"params": [result['name'] + '.torrent', result['content'], {}],
|
||||||
"id": 2})
|
"id": 2})
|
||||||
|
|||||||
Reference in New Issue
Block a user