diff options
author | toonn <toonn@toonn.io> | 2021-08-27 20:09:48 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-08-27 20:09:48 +0200 |
commit | ae524006f419a029c604861bdb36aa472535bd2a (patch) | |
tree | 60ac13a67baa1d061ef65e7b6c716c8a55dade42 /ranger | |
parent | 512ffcc81aca3314e86d49537656cd569f39c619 (diff) | |
download | ranger-ae524006f419a029c604861bdb36aa472535bd2a.tar.gz |
api.commands: Use literals
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/api/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/commands.py b/ranger/api/commands.py index 32b33e61..7b76203b 100644 --- a/ranger/api/commands.py +++ b/ranger/api/commands.py @@ -405,7 +405,7 @@ def command_function_factory(func): except TypeError: return func() - args, kwargs = list(), dict() + args, kwargs = [], {} for arg in self.args[1:]: equal_sign = arg.find("=") value = arg if equal_sign == -1 else arg[equal_sign + 1:] |