summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-05 03:50:23 +0100
committerhut <hut@lavabit.com>2013-02-05 03:50:23 +0100
commit52274c675658a1834d0c5cac3a8a3c7ac5901348 (patch)
tree9d42990aeef4aed7b784d51c19cf331ff9d87e01
parent133c29015944fd19a64aa0dfe4c9097874b1d4ad (diff)
downloadranger-52274c675658a1834d0c5cac3a8a3c7ac5901348.tar.gz
config/commands: fix error message in copymap
-rw-r--r--ranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 0ac1a681..7268dbab 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -944,7 +944,7 @@ class copymap(Command):
 
 	def execute(self):
 		if not self.arg(1) or not self.arg(2):
-			return self.notify("Not enough arguments", bad=True)
+			return self.fm.notify("Not enough arguments", bad=True)
 
 		for arg in self.args[2:]:
 			self.fm.ui.keymaps.copy(self.context, self.arg(1), arg)