summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/commands.py b/ranger/defaults/commands.py
index c3449d63..8117f1f3 100644
--- a/ranger/defaults/commands.py
+++ b/ranger/defaults/commands.py
@@ -268,7 +268,7 @@ class delete(Command):
 				and len(os.listdir(cf.path)) > 0):
 			# better ask for a confirmation, when attempting to
 			# delete multiple files or a non-empty directory.
-			return self.fm.open_console(self.mode, delete.WARNING)
+			return self.fm.open_console(self.mode, DELETE_WARNING)
 
 		# no need for a confirmation, just delete
 		self.fm.delete()