From 52274c675658a1834d0c5cac3a8a3c7ac5901348 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 5 Feb 2013 03:50:23 +0100 Subject: config/commands: fix error message in copymap --- ranger/config/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0