From 6f273e60e71c0b8ea872ec30ac4178435671218f Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Tue, 13 Dec 2005 00:40:15 +0000 Subject: [PATCH] fix configSequence (ip address input should work now) --- lib/python/Components/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2