diff options
author | Vlad <vlad7mail@gmail.com> | 2016-11-15 19:18:19 +0100 |
---|---|---|
committer | Vlad <vlad7mail@gmail.com> | 2016-11-15 19:18:19 +0100 |
commit | 67fb633bcc5b65ae9d20ead5c68d5b677bbc1485 (patch) | |
tree | 936e54ae4e6adf3af906162f8791c7713c3f63b8 /ranger | |
parent | 055247a002757ab439e68f8497b3935f28a839c4 (diff) | |
download | ranger-67fb633bcc5b65ae9d20ead5c68d5b677bbc1485.tar.gz |
Fixed trailing space bug in config parsing.
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index c119c501..77654b1c 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -346,7 +346,7 @@ class Actions(FileManagerAware, SettingsAware): filename = os.path.expanduser(filename) with open(filename, 'r') as f: for line in f: - line = line.lstrip().rstrip("\r\n") + line = line.lstrip().rstrip(" \r\n") if line.startswith("#") or not line.strip(): continue try: |