diff --git a/oml/downloads.py b/oml/downloads.py index 39f1645..cdd4069 100644 --- a/oml/downloads.py +++ b/oml/downloads.py @@ -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: