This commit is contained in:
bobokun 2024-02-15 10:48:54 -05:00
parent 3d230f39a1
commit bcdba1cfa8
No known key found for this signature in database
GPG key ID: B73932169607D927
2 changed files with 4 additions and 4 deletions

View file

@ -1 +1 @@
4.0.9-develop9
4.0.9-develop10

View file

@ -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"})