diff options
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/config/commands.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index a8071331..07052687 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -507,13 +507,13 @@ class setlocal_(set_): # We require quoting of paths with whitespace so we have to take care # not to match escaped quotes. self.path_re_dquoted = re.compile( - r'^set.+?\s+{arg}="(.*?[^\\])"'.format(arg=self._arg()) + r'^set.+?\s+{arg}="(.*?[^\\])"'.format(arg=self._arg) ) self.path_re_squoted = re.compile( - r"^set.+?\s+{arg}='(.*?[^\\])'".format(arg=self._arg()) + r"^set.+?\s+{arg}='(.*?[^\\])'".format(arg=self._arg) ) self.path_re_unquoted = re.compile( - r'^{arg}=(.+?)$'.format(arg=self._arg()) + r'^{arg}=(.+?)$'.format(arg=self._arg) ) def _re_shift(self, match): |