Vladimir Kolev committed a2da4c0

A try block fixes the IndexError when removing downloads from the queue.
Probably should be removed, since the downloads are already removed before the check.

Still not sure why are theese random freezes when searching...

Comments (0)

Files changed (1)

     def _remove_download(self):
         for i in range(len(
-            if self.iter ==[i]['iter']:
+            try:
+                if self.iter ==[i]['iter']:
+            except IndexError:
+                pass
         self.iter = None