From f45f9734d2ff9fd6b68ff6c879d5b07b0e5c7d02 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 7 Apr 2010 04:25:24 +0200 Subject: use fm as arg.wdg in initialize_commands() --- ranger/gui/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py index 68285718..458cfa5d 100644 --- a/ranger/gui/ui.py +++ b/ranger/gui/ui.py @@ -150,7 +150,7 @@ class UI(DisplayableContainer): self.hint(cmd.show_obj.hint) elif hasattr(cmd, 'execute'): try: - cmd.execute_wrap(self) + cmd.execute_wrap(self.fm) except Exception as error: self.fm.notify(error) self.env.key_clear() -- cgit