From f5426c6c6788ffd4b7ee6ecfc03ad7430b6f10d8 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 24 Dec 2009 19:39:22 +0100 Subject: fixed minor logical error --- ranger/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0