mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-06 03:46:40 +08:00
Fixes #488
This commit is contained in:
parent
3d230f39a1
commit
bcdba1cfa8
2 changed files with 4 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
4.0.9-develop9
|
||||
4.0.9-develop10
|
||||
|
|
|
@ -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"})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue