about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-24 19:39:22 +0100
committerhut <hut@lavabit.com>2009-12-24 19:39:22 +0100
commitf5426c6c6788ffd4b7ee6ecfc03ad7430b6f10d8 (patch)
tree0b04ca83b0b1dcf13854caaf10f744b97e61b554
parentec5dfcb1cb0f549fea3ecf7b0505f02e197887b2 (diff)
downloadranger-f5426c6c6788ffd4b7ee6ecfc03ad7430b6f10d8.tar.gz
fixed minor logical error
-rw-r--r--ranger/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/commands.py b/ranger/commands.py
index 06a4321b..009de586 100644
--- a/ranger/commands.py
+++ b/ranger/commands.py
@@ -15,7 +15,7 @@ class parse(object):
 			self.firstpart = ''
 
 	def chunk(self, n, otherwise=''):
-		if len(self.chunks) >= n:
+		if len(self.chunks) > n:
 			return self.chunks[n]
 		else:
 			return otherwise