fix ip address
[enigma2.git] / lib / python / Components / config.py
index 1ce67f8e73000a5551fa18acf6dffed608bd77db..a2dfb8db12871a2aa8d575e985da5d3533c2fab8 100644 (file)
@@ -266,9 +266,9 @@ class configSequence:
                        #if diff > 0:
                                ## if this helps?!
                                #value += " " * diff
                        #if diff > 0:
                                ## if this helps?!
                                #value += " " * diff
-                       print (("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % int(i))
+                       print (("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % i)
                        if (self.censorChar == ""):
                        if (self.censorChar == ""):
-                               value += ("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % int(i)
+                               value += ("%0" + str(len(str(self.valueBounds[num][1]))) + "d") % i
                        else:
                                value += (self.censorChar * len(str(self.valueBounds[num][1])))
                        num += 1
                        else:
                                value += (self.censorChar * len(str(self.valueBounds[num][1])))
                        num += 1