fix configSequence (ip address input should work now)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 13 Dec 2005 00:40:15 +0000 (00:40 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 13 Dec 2005 00:40:15 +0000 (00:40 +0000)
lib/python/Components/config.py

index a2dfb8d..1ce67f8 100644 (file)
@@ -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