From: Andreas Frisch Date: Tue, 7 Oct 2008 13:08:44 +0000 (+0000) Subject: another try on the ip address issue... this time display " " (blank char) instead... X-Git-Tag: 2.6.0~797 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/34fa633f447de55ccfa8e304b33c8697a03020c1 another try on the ip address issue... this time display " " (blank char) instead of leading zero --- 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)