aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-07 13:08:44 +0000
committerAndreas Frisch <andreas.frisch@multimedia-labs.de>2008-10-07 13:08:44 +0000
commit34fa633f447de55ccfa8e304b33c8697a03020c1 (patch)
tree8e17952dcf2b0908d856b98f8a6c063bba0dbe80 /lib/python/Components
parent536c9954a0ead206b875cda6f1ccff361e354ab7 (diff)
downloadenigma2-34fa633f447de55ccfa8e304b33c8697a03020c1.tar.gz
enigma2-34fa633f447de55ccfa8e304b33c8697a03020c1.zip
another try on the ip address issue... this time display " " (blank char) instead of leading zero
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 7fbe13b7..424585de 100644
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -517,6 +517,7 @@ class ConfigIP(ConfigSequence):
value += self.seperator
if mPos >= len(value) - 1:
mPos += 1
+ value += (" " * (len(str(self.limits[num][1]))-len(str(i))))
value += str(i)
num += 1
return (value, mPos)