diff options
-rw-r--r-- | ranger/keyapi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/keyapi.py b/ranger/keyapi.py index e5d6f367..a0e71428 100644 --- a/ranger/keyapi.py +++ b/ranger/keyapi.py @@ -94,6 +94,7 @@ def replace_narg(number, function, args, keywords): args[index] = number except (ValueError, IndexError): # is narg in keywords? + keywords = dict(keywords) keywords[NARG_KEYWORD] = number return args, keywords |