diff options
author | Vlad <vlad7mail@gmail.com> | 2016-11-17 00:33:49 +0100 |
---|---|---|
committer | Vlad <vlad7mail@gmail.com> | 2016-11-17 00:33:49 +0100 |
commit | 3964c22d7564bf8b928e32a1c409c3267c743ea8 (patch) | |
tree | 55c5a5c60e0ba9811f6476fce52fe4430d463409 | |
parent | 67fb633bcc5b65ae9d20ead5c68d5b677bbc1485 (diff) | |
download | ranger-3964c22d7564bf8b928e32a1c409c3267c743ea8.tar.gz |
Refactored.
-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 77654b1c..5775a8bb 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.strip(" \r\n") if line.startswith("#") or not line.strip(): continue try: |