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 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: |