summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-19 23:41:35 +0200
committerhut <hut@lavabit.com>2010-04-19 23:41:35 +0200
commit5f4f7cb99a77f070536946bd6a37163d99752f9a (patch)
tree24e5ab392b190c8d2a863e972988c893cadb0695
parentf12b2218376b3d8ae29755b7c6e2da9c0c8ddf97 (diff)
downloadranger-5f4f7cb99a77f070536946bd6a37163d99752f9a.tar.gz
defaults.commands: bugfix
-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()