summary refs log tree commit diff stats
path: root/ranger
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 /ranger
parent564ff12c4344f4f88c3ee466b1d5b1f15c071ff5 (diff)
downloadranger-e0a236c01fa8fe7e5c3dbbe26d6551ff282748d9.tar.gz
ext.direction: fixed "move up=1 cycle=false"
Diffstat (limited to 'ranger')
-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'):
itle='Blame the previous revision' href='/akspecs/ranger/blame/doc/pydoc/ranger.defaults.options.html?h=v1.9.3&id=fa1b534545a667a25994f845ecb3a4525a58b845'>^
34a60763 ^
a614f048 ^
f07bb12f ^





4e9450f9 ^
f07bb12f ^
c776804d ^
a614f048 ^

c776804d ^
34a60763 ^
c776804d ^
62cd83ba ^
f07bb12f ^
c776804d ^
34a60763 ^
a614f048 ^
f07bb12f ^
c776804d ^
34a60763 ^
f07bb12f ^
34a60763 ^
a614f048 ^


c776804d ^
f07bb12f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66