dont download again

This commit is contained in:
j 2016-03-01 17:07:45 +05:30
parent 6ed6e6bb95
commit 490acdbd23

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)