diff options
author | user062 <48716714+user062@users.noreply.github.com> | 2019-08-03 18:27:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-03 18:27:24 +0000 |
commit | ffa83808fcec410bedef334a613e28b7f3236b4f (patch) | |
tree | 3d74973fecc3569a8d0b9a5d9d0d0186b80d224d | |
parent | 5b0b73fc182a582361dff754d3ecafa8a16e3292 (diff) | |
download | ranger-ffa83808fcec410bedef334a613e28b7f3236b4f.tar.gz |
Update settings.py
-rw-r--r-- | ranger/container/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/settings.py b/ranger/container/settings.py index cd389aef..d15f8b3b 100644 --- a/ranger/container/settings.py +++ b/ranger/container/settings.py @@ -276,7 +276,7 @@ class Settings(SignalDispatcher, FileManagerAware): if path: if path not in self._localsettings: try: - regex = re.compile(re.compile(path)) + regex = re.compile(re.escape(path)) except re.error: # Bad regular expression return self._localregexes[path] = regex |