X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9a432bc4550b7c73772737961bce3675c6893745..7b2960a205f3c3e3b421d1664cd38644b3ffb679:/lib/python/Components/config.py 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"])