diff options
author | hut <hut@lepus.uberspace.de> | 2015-01-04 07:25:18 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-01-04 07:25:18 +0100 |
commit | e0a236c01fa8fe7e5c3dbbe26d6551ff282748d9 (patch) | |
tree | 080b15ed6e28f126599f09c3bdd9047f76381dcb /ranger | |
parent | 564ff12c4344f4f88c3ee466b1d5b1f15c071ff5 (diff) | |
download | ranger-e0a236c01fa8fe7e5c3dbbe26d6551ff282748d9.tar.gz |
ext.direction: fixed "move up=1 cycle=false"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/direction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/direction.py b/ranger/ext/direction.py index bd00fa6b..e85aefb2 100644 --- a/ranger/ext/direction.py +++ b/ranger/ext/direction.py @@ -82,7 +82,7 @@ class Direction(dict): return 'percentage' in self and self['percentage'] def cycle(self): - return self.get('cycle') + return self.get('cycle') in ('true', 'on', 'yes') def multiply(self, n): for key in ('up', 'right', 'down', 'left'): |