ignore just removed downloads
This commit is contained in:
parent
4cabfd0476
commit
9e7b8445eb
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class Downloads(Thread):
|
||||||
for itemid, t in downloads:
|
for itemid, t in downloads:
|
||||||
if state.shutdown:
|
if state.shutdown:
|
||||||
return False
|
return False
|
||||||
|
if itemid not in self.transfers:
|
||||||
|
continue
|
||||||
if t.get('added') and t.get('progress', -1) < 1:
|
if t.get('added') and t.get('progress', -1) < 1:
|
||||||
i = item.models.Item.get(itemid)
|
i = item.models.Item.get(itemid)
|
||||||
for u in i.users:
|
for u in i.users:
|
||||||
|
|
Loading…
Reference in a new issue