summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-01 21:53:48 +0200
committerhut <hut@lavabit.com>2011-10-01 21:53:48 +0200
commit4fbe1e8d0e0ed405b3ce544d83a30d02cc0260b4 (patch)
treea75b0eb7dd1892301fad2a47bd1e7be7720641ba
parent08b619ba3a3d2d384d0da71968d47b1d56998a4d (diff)
downloadranger-4fbe1e8d0e0ed405b3ce544d83a30d02cc0260b4.tar.gz
core.actions: killed hidden ninja bug
-rw-r--r--ranger/core/actions.py2
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)