aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/ParentalControl.py3
1 files changed, 3 insertions, 0 deletions
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)