diff options
-rw-r--r-- | ranger/api/commands.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 72af0ebd..56fc94a3 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -39,10 +39,7 @@ class CommandContainer(FileManagerAware): class CommandAlias(cmd): # pylint: disable=too-few-public-methods def __init__(self, line, *args, **kwargs): super(CommandAlias, self).__init__( - self.full_command + ''.join(_ALIAS_LINE_RE.split(line)[1:]), - *args, - **kwargs, - ) + (self.full_command + ''.join(_ALIAS_LINE_RE.split(line)[1:])), *args, **kwargs) self.commands[name] = type(name, (CommandAlias,), dict(full_command=full_command)) def load_commands_from_module(self, module): |