Update qbittorrent_worker.py

pull/109/head
midoks 6 years ago
parent 088bcdb19d
commit ef5f05a76c
  1. 4
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -159,7 +159,9 @@ class downloadBT(Thread):
def completed(self):
while True:
torrents = self.qb.torrents(filter='completed')
if len(torrents) > 0:
tlen = len(torrents)
print "torrents count:", tlen
if tlen > 0:
for torrent in torrents:
path = torrent['save_path'] + torrent['name']
self.video_do(path)

Loading…
Cancel
Save