aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 16:45:51 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-15 16:45:51 +0000
commitdd6b0a6724db3e2533c5858beb49523f713fe8a7 (patch)
tree23fee496632e2c684209ce626448fb4a0f1c7c2c /lib/python/Components
parentf935094d63a0b6cf1632962ea67d0a19e98a9df8 (diff)
downloadenigma2-dd6b0a6724db3e2533c5858beb49523f713fe8a7.tar.gz
enigma2-dd6b0a6724db3e2533c5858beb49523f713fe8a7.zip
save simple integers too
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/config.py6
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: