Merge branch 'experimental' of git.opendreambox.org:/git/enigma2 into experimental
[enigma2.git] / lib / python / Components / ParentalControl.py
index 4830d20a95f18f52b96a0bec54dfa19285f94b4b..9942bca7a0e63a2ab97b560dd29829ec2a12b137 100644 (file)
@@ -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)