From 83280f3f999268aeae785638b55080068c672a73 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Mon, 5 May 2014 23:43:32 -0700 Subject: [PATCH] Fix for #1603, typo in utorrent --- headphones/utorrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/utorrent.py b/headphones/utorrent.py index 7aad16f5..fbf1a462 100644 --- a/headphones/utorrent.py +++ b/headphones/utorrent.py @@ -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")