dont download again

This commit is contained in:
j 2016-03-01 17:07:45 +05:30
parent 6ed6e6bb95
commit 490acdbd23
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ class Downloads(Thread):
return False
if itemid not in self.transfers:
continue
f = item.models.File.get(itemid)
if f:
del self.transfers[itemid]
continue
if t.get('added') and t.get('progress', -1) < 1:
if not 'users' in t:
i = item.models.Item.get(itemid)