mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-21 09:04:00 +08:00
Update qbittorrent_worker.py
This commit is contained in:
@@ -157,7 +157,7 @@ class downloadBT(Thread):
|
||||
|
||||
def checkTask(self):
|
||||
while True:
|
||||
torrents = self.qb.torrents()
|
||||
torrents = self.qb.torrents(filter='downloading')
|
||||
tlen = len(torrents)
|
||||
if tlen > 0:
|
||||
print "downloading torrents count:", tlen
|
||||
|
||||
Reference in New Issue
Block a user