summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-02-15 13:05:17 +0100
committerhut <hut@lepus.uberspace.de>2014-02-15 13:05:17 +0100
commita4f1c363597fe63e94f6f9a48a05fe63e9903b82 (patch)
tree14047bbfa50d9bec0776dc8f27e030b042cbab9c
parent4b66be640681ee6f09ed19713ce0cc2b08ccd72c (diff)
parent4ff4880173b4db55e6830c57025c55cc4f1472eb (diff)
downloadranger-a4f1c363597fe63e94f6f9a48a05fe63e9903b82.tar.gz
Merge branch 'master' of https://github.com/pkkm/ranger
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 67223258..eb9169a6 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -287,7 +287,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
     def source(self, filename):
         filename = os.path.expanduser(filename)
         for line in open(filename, 'r'):
-            line = line.rstrip("\r\n")
+            line = line.lstrip().rstrip("\r\n")
             if line.startswith("#") or not line.strip():
                 continue
             try: