From d67ed51104a56c3c46d060842e7fa0201118b1fb Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 22 Jan 2018 23:07:48 +1300 Subject: [PATCH] fix hash lookup in qbittorrent. Fixes #1300 --- core/nzbToMediaUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nzbToMediaUtil.py b/core/nzbToMediaUtil.py index 77bf6f8e..0f06dfbe 100644 --- a/core/nzbToMediaUtil.py +++ b/core/nzbToMediaUtil.py @@ -909,7 +909,7 @@ def find_download(clientAgent, download_id): if clientAgent == 'qbittorrent': torrents = core.TORRENT_CLASS.torrents() for torrent in torrents: - if torrent['infohash'] == download_id: + if torrent['hash'] == download_id: return True if clientAgent == 'sabnzbd': if "http" in core.SABNZBDHOST: