From 34fa633f447de55ccfa8e304b33c8697a03020c1 Mon Sep 17 00:00:00 2001 From: Andreas Frisch Date: Tue, 7 Oct 2008 13:08:44 +0000 Subject: another try on the ip address issue... this time display " " (blank char) instead of leading zero --- lib/python/Components/config.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/python/Components') 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) -- cgit v1.2.3