mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-12-11 14:26:52 +08:00
parent
52dcc9370d
commit
5fed8cd0e8
1 changed files with 3 additions and 2 deletions
|
|
@ -29,9 +29,10 @@ class Qbt:
|
|||
logger.debug(f'qBittorrent Web API: {self.client.app.web_api_version}')
|
||||
logger.debug(f'qbit_manage support version: {SUPPORTED_VERSION}')
|
||||
if not Version.is_app_version_supported(CURRENT_VERSION):
|
||||
e = f"Qbittorrent Error: qbit_manage is only comaptible with {SUPPORTED_VERSION} or lower. You are currently on {CURRENT_VERSION}"
|
||||
e = (f"Qbittorrent Error: qbit_manage is only comaptible with {SUPPORTED_VERSION} or lower. You are currently on {CURRENT_VERSION}." + '\n'
|
||||
+ f"Please downgrade to your Qbittorrent version to {SUPPORTED_VERSION} to use qbit_manage.")
|
||||
self.config.notify(e, "Qbittorrent")
|
||||
print_line(e, 'CRITICAL')
|
||||
print_multiline(e, 'CRITICAL')
|
||||
sys.exit(0)
|
||||
logger.info("Qbt Connection Successful")
|
||||
except LoginFailed:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue