summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/accumulator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/accumulator.py b/ranger/ext/accumulator.py
index 7529471f..c0da8afb 100644
--- a/ranger/ext/accumulator.py
+++ b/ranger/ext/accumulator.py
@@ -6,6 +6,8 @@ class Accumulator(object):
 	def move(self, relative=0, absolute=None):
 		i = self.pointer
 		lst = self.get_list()
+		if not lst:
+			return self.pointer
 		length = len(lst)
 
 		if isinstance(absolute, int):
18:31 +0100 committer James Booth <boothj5@gmail.com> 2015-05-25 02:18:31 +0100 Added custom resource checker' href='/danisanti/profani-tty/commit/stabbertests/proftest.h?id=06b18be8514eab863f3a65262a36fcbd8a0f2f62'>06b18be8 ^
db9376d8 ^
a48b9fce ^
693fdcce ^

a522d022 ^
693fdcce ^

db9376d8 ^
69ac8097 ^


e2fa67fa ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21