From 630da414f90f1a88c2891b4ac0e1060db3805383 Mon Sep 17 00:00:00 2001 From: hoey94 Date: Sat, 16 Mar 2024 11:35:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20QB=E8=BF=9C=E7=A8=8B=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=20104?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- plugins/qbcommand/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dcfe3a3..504ee78 100644 --- a/package.json +++ b/package.json @@ -402,7 +402,7 @@ "QbCommand": { "name": "QB远程操作", "description": "通过定时任务或交互命令远程操作QB暂停/开始/限速等。", - "version": "1.1", + "version": "1.2", "icon": "Qbittorrent_A.png", "author": "DzAvril", "level": 1 diff --git a/plugins/qbcommand/__init__.py b/plugins/qbcommand/__init__.py index 2c4e8d1..ed66109 100644 --- a/plugins/qbcommand/__init__.py +++ b/plugins/qbcommand/__init__.py @@ -19,7 +19,7 @@ class QbCommond(_PluginBase): # 插件图标 plugin_icon = "Qbittorrent_A.png" # 插件版本 - plugin_version = "1.1" + plugin_version = "1.2" # 插件作者 plugin_author = "DzAvril" # 作者主页 @@ -488,7 +488,7 @@ class QbCommond(_PluginBase): title=f"【QB远程操作】", text=text, ) - elif not flag: + elif flag == False: logger.error(f"QB设置限速失败") if self._notify: self.post_message(