From bd9b9d79572ecb649b26f86dd6bb07d5e6f20766 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 12 Oct 2005 00:25:32 +0000 Subject: fix boundaries of configSequence input --- lib/python/Components/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/python/Components') diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 4cdd359a..5a92f076 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -118,8 +118,7 @@ class configSequence: self.markedPos = 0 def checkValues(self): - maxPos = len(self.parent.value) * self.parent.vals[1] - print maxPos + maxPos = len(self.parent.value) * len(self.parent.vals[1]) + len(self.parent.value) if self.markedPos >= maxPos: self.markedPos = maxPos - 1 -- cgit v1.2.3