diff options
-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 7bb0ef11..297f5c8e 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -350,7 +350,7 @@ class Actions(FileManagerAware, SettingsAware): log.debug("Sourcing config file '{0}'".format(filename)) with open(filename, 'r') as f: for line in f: - line = line.lstrip().rstrip("\r\n") + line = line.strip(" \r\n") if line.startswith("#") or not line.strip(): continue try: |