summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/loader.py b/ranger/fsobject/loader.py
index 674af1f3..8eb1e1a7 100644
--- a/ranger/fsobject/loader.py
+++ b/ranger/fsobject/loader.py
@@ -103,7 +103,7 @@ class Loader(FileManagerAware):
 				next(item.load_generator)
 		except StopIteration:
 			item.load_generator = None
-			self.queue.popleft()
+			self.queue.remove(item)
 		except Exception as err:
 			self.fm.notify(str(err), bad=True)