From: Ronny Strutz Date: Tue, 15 Nov 2005 16:45:51 +0000 (+0000) Subject: save simple integers too X-Git-Tag: 2.6.0~5177 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/dd6b0a6724db3e2533c5858beb49523f713fe8a7 save simple integers too --- diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 1ffea0aa..19fdefee 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -427,7 +427,11 @@ class configElement: return str(data.strip()) elif control == configSequence: - value = ((len(data) * ("%d" + self.vals[0]))[0:-1]) % tuple(data) + print data + try: + value = ((len(data) * ("%d" + self.vals[0]))[0:-1]) % tuple(data) + except: + value = str(data) # just in case you don't understand the above, here an equivalent: # value = "" # for i in data: