X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/681c113336426914342cf68fb03e7cd399c29c9a..29595f9e351b8d7b4f77b0a9885209d45929d2b1:/lib/python/Components/config.py diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 38a23146..b255f55a 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -803,7 +803,8 @@ class Config(ConfigSubsection): # we inherit from ConfigSubsection, so ... #object.__setattr__(self, "saved_value", tree["config"]) - self.setSavedValue(tree["config"]) + if "config" in tree: + self.setSavedValue(tree["config"]) def saveToFile(self, filename): f = open(filename, "w")