diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index faca6e366..d21f65ef8 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -143,7 +143,7 @@ class downloadBT(Thread): return False def __check(self): - if not __db_err: + if self.__db_err: sys.exit('未连接数据库!') def __close(self):