mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-11 14:26:52 +08:00
BHD Integration bug fix
This commit is contained in:
parent
110898dd6f
commit
64d9fda25c
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ class Qbt:
|
|||
# Tag any potential unregistered torrents
|
||||
if not any(m in msg_up for m in unreg_msgs) and x.status == 4 and 'issue' not in check_tags:
|
||||
# Check for unregistered torrents using BHD API if the tracker is BHD
|
||||
if 'tracker.beyond-hd.me' in torrent.tracker and self.config.BeyondHD is not None:
|
||||
if 'tracker.beyond-hd.me' in tracker['url'] and self.config.BeyondHD is not None:
|
||||
json = {"info_hash": torrent.hash}
|
||||
response = self.config.BeyondHD.search(json)
|
||||
if response['total_results'] <= 1:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue