X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FParentalControl.py;h=9942bca7a0e63a2ab97b560dd29829ec2a12b137;hb=2aaafed9667ed7fe91d01436a3a109d8ff3f7bbf;hp=4830d20a95f18f52b96a0bec54dfa19285f94b4b;hpb=c7a9116bff46e6c9c6f4bdbaf43a3f527f6ec468;p=vuplus_dvbapp diff --git a/lib/python/Components/ParentalControl.py b/lib/python/Components/ParentalControl.py index 4830d20..9942bca 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)