bug fix for BHD integration

This commit is contained in:
bobokun 2022-01-20 14:51:38 -05:00
parent 2e6f58982d
commit ea356eeb70
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -534,7 +534,7 @@ class Qbt:
if 'tracker.beyond-hd.me' in tracker['url'] and self.config.BeyondHD is not None and not list_in_text(msg_up, ignore_msgs):
json = {"info_hash": torrent.hash}
response = self.config.BeyondHD.search(json)
if response['total_results'] <= 1:
if response['total_results'] == 0:
del_unregistered()
break
tag_tracker_error()