From: Stefan Pluecken Date: Wed, 12 Oct 2005 00:25:32 +0000 (+0000) Subject: fix boundaries of configSequence input X-Git-Tag: 2.6.0~5480 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/bd9b9d79572ecb649b26f86dd6bb07d5e6f20766?hp=97b7554abc88ade4b89a804ac3efeb7ead192009 fix boundaries of configSequence input --- 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