aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/config.py4
1 files 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