aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-22 12:43:46 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-22 12:43:46 +0100
commite7e373740021d60b23319ecee1e1c456d2d7f67d (patch)
tree731246cf6b77fe481029e7a33b211e4d737ef6ea /lib
parent45978e9f6d4820e6b8f15436392be59280a728de (diff)
parentb720a31b77569d8389476a020bef3f20aa0119a7 (diff)
downloadenigma2-e7e373740021d60b23319ecee1e1c456d2d7f67d.tar.gz
enigma2-e7e373740021d60b23319ecee1e1c456d2d7f67d.zip
Merge branch 'bug_617_default_favlist_handling_fix' into experimental
Diffstat (limited to 'lib')
-rwxr-xr-xlib/python/Components/config.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py
index 44ad6d2a..6e560857 100755
--- a/lib/python/Components/config.py
+++ b/lib/python/Components/config.py
@@ -1647,9 +1647,12 @@ class Config(ConfigSubsection):
if not base_file: # not the initial config file..
#update config.x.y.value when exist
- configEntry = eval(name)
- if configEntry is not None:
- configEntry.value = val
+ try:
+ configEntry = eval(name)
+ if configEntry is not None:
+ configEntry.value = val
+ except (SyntaxError, KeyError):
+ pass
# we inherit from ConfigSubsection, so ...
#object.__setattr__(self, "saved_value", tree["config"])