diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/config.py | 6 |
1 files changed, 5 insertions, 1 deletions
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: |
