dont download again
This commit is contained in:
parent
6ed6e6bb95
commit
490acdbd23
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue