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 a2dfb8db12871a2aa8d575e985da5d3533c2fab8..1ce67f8e73000a5551fa18acf6dffed608bd77db 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