mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update qbittorrent_worker.py
This commit is contained in:
@@ -158,7 +158,6 @@ 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user