From 33fdb3d7bdedb09493a735c1098658d1a9ad8535 Mon Sep 17 00:00:00 2001 From: Noam Date: Mon, 13 Mar 2017 18:46:04 +0200 Subject: [PATCH] Wrong variable name --- headphones/deluge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/deluge.py b/headphones/deluge.py index 0bb0e38b..062789c6 100644 --- a/headphones/deluge.py +++ b/headphones/deluge.py @@ -249,7 +249,7 @@ def removeTorrent(torrentid, remove_data=False): logger.debug('Deluge: Checking if torrent %s finished seeding' % str(torrentid)) post_data = json.dumps({"method": "web.get_torrent_status", "params": [ - result['hash'], + torrentid, [ "name", "ratio",