Fix for #1603, typo in utorrent

This commit is contained in:
rembo10
2014-05-05 23:43:32 -07:00
parent 1d7415b91d
commit 83280f3f99
+1 -1
View File
@@ -63,7 +63,7 @@ def addTorrent(link):
response = request.request_json(host, params=params, auth=auth, cookies=cookies)
else:
params = {'action':'add-file', 'token':token}
files = {'torrent_file':{'music.torrent', link}}
files = {'torrent_file':{'music.torrent' : link}}
response = request.request_json(host, method="post", params=params, files=files, auth=auth, cookies=cookies)
if not response:
logger.error("Error sending torrent to uTorrent")