X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/eca33f89346b4ad0e7bbaef7438e8a87daa963a9..31037f2bac27fb9a592d63a09e1e9ef2792f8e7e:/lib/python/Components/ParentalControl.py diff --git a/lib/python/Components/ParentalControl.py b/lib/python/Components/ParentalControl.py index 4830d20a..9942bca7 100644 --- a/lib/python/Components/ParentalControl.py +++ b/lib/python/Components/ParentalControl.py @@ -318,6 +318,9 @@ class ParentalControl: return services def save(self): + # we need to open the files in case we havent's read them yet + if not self.filesOpened: + self.open() self.saveListToFile(LIST_BLACKLIST) self.saveListToFile(LIST_WHITELIST)