summary refs log tree commit diff stats
path: root/ranger/gui/widgets/filelistcontainer.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/gui/widgets/filelistcontainer.py')
-rw-r--r--ranger/gui/widgets/filelistcontainer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/filelistcontainer.py b/ranger/gui/widgets/filelistcontainer.py
index cc45f2c9..6e925f83 100644
--- a/ranger/gui/widgets/filelistcontainer.py
+++ b/ranger/gui/widgets/filelistcontainer.py
@@ -20,7 +20,7 @@ class FileListContainer(Widget, DisplayableContainer):
 		ratio_sum = float(reduce(lambda x,y: x + y, ratios))
 		self.ratios = tuple(map(lambda x: x / ratio_sum, ratios))
 
-		if self.ratios >= 2:
+		if len(self.ratios) >= 2:
 			self.stretch_ratios = self.ratios[:-2] + \
 					((self.ratios[-2] + self.ratios[-1] * 0.9), \
 					(self.ratios[-1] * 0.1))
> 2010-02-27 04:27:52 +0100 committer hut <hut@lavabit.com> 2010-02-27 04:39:54 +0100 Makefile: added make info + some improvements' href='/akspecs/ranger/commit/Makefile?h=v1.4.3&id=2c5ea01dd2003f172bdc5afdb8bb8bf34eccf0fa'>2c5ea01d ^
3a1e1f28 ^
b0a216f5 ^
2c5ea01d ^
b0a216f5 ^



3a1e1f28 ^
b0a216f5 ^






2c5ea01d ^

b0a216f5 ^


2c5ea01d ^
2c5ea01d ^
2c5ea01d ^
b0a216f5 ^




























94c5d83e ^


3a1e1f28 ^
e9e4b4ff ^
b0a216f5 ^
3a1e1f28 ^
b0a216f5 ^

e9e4b4ff ^
3a1e1f28 ^
e9e4b4ff ^





e9e4b4ff ^
3a1e1f28 ^
50a0cb1c ^
e9e4b4ff ^
fde932f2 ^
3a1e1f28 ^
4ade06a6 ^

3a1e1f28 ^
0c2c782d ^

30ae2137 ^
b0a216f5 ^
4ade06a6 ^
b0a216f5 ^
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112