diff --git a/fail2ban/server/actions.py b/fail2ban/server/actions.py index 5bd00c85..28c23abd 100644 --- a/fail2ban/server/actions.py +++ b/fail2ban/server/actions.py @@ -150,7 +150,7 @@ class Actions(JailThread, Mapping): # reload actions after all parameters set via stream: for name, initOpts in self._reload_actions.iteritems(): if name in self._actions: - self._actions[name].reload(**initOpts if initOpts else {}) + self._actions[name].reload(**(initOpts if initOpts else {})) # remove obsolete actions (untouched by reload process): delacts = OrderedDict((name, action) for name, action in self._actions.iteritems() if name not in self._reload_actions)