ignore just removed downloads

This commit is contained in:
j 2016-02-14 16:11:18 +05:30
parent 4cabfd0476
commit 9e7b8445eb
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ class Downloads(Thread):
for itemid, t in downloads:
if state.shutdown:
return False
if itemid not in self.transfers:
continue
if t.get('added') and t.get('progress', -1) < 1:
i = item.models.Item.get(itemid)
for u in i.users: