diff options
author | hut <hut@lavabit.com> | 2010-04-07 04:25:24 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-07 04:25:24 +0200 |
commit | f45f9734d2ff9fd6b68ff6c879d5b07b0e5c7d02 (patch) | |
tree | ecda3dc360dde1c6f65f2951450ced94808a5296 | |
parent | baa6e1adde808901558b70a1cd532fb3d4124bec (diff) | |
download | ranger-f45f9734d2ff9fd6b68ff6c879d5b07b0e5c7d02.tar.gz |
use fm as arg.wdg in initialize_commands()
-rw-r--r-- | ranger/gui/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |