From 806ff7ef113a0580655ec35ac250055971589a74 Mon Sep 17 00:00:00 2001 From: bobokun Date: Sat, 1 Apr 2023 13:12:03 -0400 Subject: [PATCH] bug fix beyondHD --- modules/qbittorrent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/qbittorrent.py b/modules/qbittorrent.py index 5b1ab10..27e82b9 100755 --- a/modules/qbittorrent.py +++ b/modules/qbittorrent.py @@ -895,11 +895,11 @@ class Qbt: # Check for unregistered torrents using BHD API if the tracker is BHD if ( "tracker.beyond-hd.me" in tracker["url"] - and self.config.BeyondHD is not None + and self.config.beyond_hd is not None and not list_in_text(msg_up, ignore_msgs) ): json = {"info_hash": torrent.hash} - response = self.config.BeyondHD.search(json) + response = self.config.beyond_hd.search(json) if response["total_results"] == 0: del_unregistered() break @@ -912,7 +912,7 @@ class Qbt: except Exception as ex: logger.stacktrace() self.config.notify(ex, "Remove Unregistered Torrents", False) - logger.error("Unknown Error: {ex}") + logger.error(f"Remove Unregistered Torrents Error: {ex}") if cfg_rem_unregistered: if del_tor >= 1 or del_tor_cont >= 1: if del_tor >= 1: