def get(self, type, args = ()):
# configsequencearg.get ("IP")
if (type == "IP"):
- return (("."), [(1,255),(0,255),(0,255),(0,255)], "")
+ return (("."), [(0,255),(0,255),(0,255),(0,255)], "")
# configsequencearg.get ("MAC")
if (type == "MAC"):
return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "")
#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 == ""):
- 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