diff options
Diffstat (limited to 'ranger/core/actions.py')
-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) |