Update qbittorrent_worker.py

pull/5/head
Mr Chen 6 years ago
parent 4b1f483565
commit 8533d667cd
  1. 1
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -156,6 +156,7 @@ class downloadBT(Thread):
def completed(self): def completed(self):
while True: while True:
time.sleep(1)
torrents = self.qb.torrents(filter='completed') torrents = self.qb.torrents(filter='completed')
if len(torrents) > 0: if len(torrents) > 0:
for torrent in torrents: for torrent in torrents:

Loading…
Cancel
Save