diff --git a/VERSION b/VERSION index 171afb3..1f47379 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.9-develop9 +4.0.9-develop10 diff --git a/modules/qbittorrent.py b/modules/qbittorrent.py index 204ce07..8806db3 100755 --- a/modules/qbittorrent.py +++ b/modules/qbittorrent.py @@ -71,13 +71,13 @@ class Qbt: logger.print_line(ex, "CRITICAL") sys.exit(1) logger.info("Qbt Connection Successful") - except LoginFailed as exc: + except LoginFailed: ex = "Qbittorrent Error: Failed to login. Invalid username/password." self.config.notify(ex, "Qbittorrent") - raise Failed(exc) from exc + raise Failed(ex) except Exception as exc: self.config.notify(exc, "Qbittorrent") - raise Failed(exc) from exc + raise Failed(exc) logger.separator("Getting Torrent List", space=False, border=False) self.torrent_list = self.get_torrents({"sort": "added_on"})