summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-01-04 07:25:18 +0100
committerhut <hut@lepus.uberspace.de>2015-01-04 07:25:18 +0100
commite0a236c01fa8fe7e5c3dbbe26d6551ff282748d9 (patch)
tree080b15ed6e28f126599f09c3bdd9047f76381dcb
parent564ff12c4344f4f88c3ee466b1d5b1f15c071ff5 (diff)
downloadranger-e0a236c01fa8fe7e5c3dbbe26d6551ff282748d9.tar.gz
ext.direction: fixed "move up=1 cycle=false"
-rw-r--r--ranger/ext/direction.py2
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'):