about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-08-27 20:09:48 +0200
committertoonn <toonn@toonn.io>2021-08-27 20:09:48 +0200
commitae524006f419a029c604861bdb36aa472535bd2a (patch)
tree60ac13a67baa1d061ef65e7b6c716c8a55dade42 /ranger
parent512ffcc81aca3314e86d49537656cd569f39c619 (diff)
downloadranger-ae524006f419a029c604861bdb36aa472535bd2a.tar.gz
api.commands: Use literals
Diffstat (limited to 'ranger')
-rw-r--r--ranger/api/commands.py2
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:]