From: Stefan Pluecken Date: Tue, 13 Dec 2005 00:40:15 +0000 (+0000) Subject: fix configSequence (ip address input should work now) X-Git-Tag: 2.6.0~4725 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/6f273e60e71c0b8ea872ec30ac4178435671218f fix configSequence (ip address input should work now) --- diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index a2dfb8db..1ce67f8e 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -266,9 +266,9 @@ class configSequence: #if diff > 0: ## if this helps?! #value += " " * diff - print (("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % i) + print (("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % int(i)) if (self.censorChar == ""): - value += ("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % i + value += ("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % int(i) else: value += (self.censorChar * len(str(self.valueBounds[num][1]))) num += 1