mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
fix hash lookup in qbittorrent. Fixes #1300
This commit is contained in:
parent
12a7e3c5ce
commit
d67ed51104
1 changed files with 1 additions and 1 deletions
|
@ -909,7 +909,7 @@ def find_download(clientAgent, download_id):
|
||||||
if clientAgent == 'qbittorrent':
|
if clientAgent == 'qbittorrent':
|
||||||
torrents = core.TORRENT_CLASS.torrents()
|
torrents = core.TORRENT_CLASS.torrents()
|
||||||
for torrent in torrents:
|
for torrent in torrents:
|
||||||
if torrent['infohash'] == download_id:
|
if torrent['hash'] == download_id:
|
||||||
return True
|
return True
|
||||||
if clientAgent == 'sabnzbd':
|
if clientAgent == 'sabnzbd':
|
||||||
if "http" in core.SABNZBDHOST:
|
if "http" in core.SABNZBDHOST:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue