summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)