diff options
author | hut <hut@lavabit.com> | 2011-10-01 21:53:48 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-01 21:53:48 +0200 |
commit | 4fbe1e8d0e0ed405b3ce544d83a30d02cc0260b4 (patch) | |
tree | a75b0eb7dd1892301fad2a47bd1e7be7720641ba | |
parent | 08b619ba3a3d2d384d0da71968d47b1d56998a4d (diff) | |
download | ranger-4fbe1e8d0e0ed405b3ce544d83a30d02cc0260b4.tar.gz |
core.actions: killed hidden ninja bug
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 9a132a42..2bcfd72c 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -112,7 +112,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): except Exception as error: self.notify(error) - def substitute_macros(self, string, additional): + def substitute_macros(self, string, additional=dict()): return _MacroTemplate(string).safe_substitute(self._get_macros(), **additional) |