summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-21 13:37:59 +0100
committerhut <hut@lavabit.com>2010-01-21 13:37:59 +0100
commit20e031cc346aab8069b8c208b216ae5f7334a509 (patch)
tree99254ce643dbcd4d57854218b239081307102327
parent5de302a37e9a0594962b2b5ab05d4abf795ed6f3 (diff)
downloadranger-20e031cc346aab8069b8c208b216ae5f7334a509.tar.gz
actions: fixed bug in delete()
-rw-r--r--ranger/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 2494623a..1463e076 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -466,7 +466,7 @@ class Actions(EnvironmentAware, SettingsAware):
 	def delete(self):
 		self.notify("Deleting!", duration=1)
 		selected = self.env.get_selection()
-		self.env.copy -= selected
+		self.env.copy -= set(selected)
 		if selected:
 			for f in selected:
 				if os.path.isdir(f.path) and not os.path.islink(f.path):