summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/actions.py b/ranger/actions.py
index 597e2699..904ed626 100644
--- a/ranger/actions.py
+++ b/ranger/actions.py
@@ -386,7 +386,7 @@ class Actions(EnvironmentAware, SettingsAware):
 		self.loader.add(LoadableObject(generate(), descr))
 
 	def delete(self):
-		msg = self.notify("Deleting ...", duration=0)
+		self.notify("Deleting ...", duration=0)
 		selected = self.env.get_selection()
 		self.env.copy -= selected
 		if selected:
@@ -401,7 +401,6 @@ class Actions(EnvironmentAware, SettingsAware):
 						os.remove(f.path)
 					except OSError as err:
 						self.notify(str(err), bad=True)
-		msg.delete()
 	
 	def mkdir(self, name):
 		try: