aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-03-01 01:47:26 +0100
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2010-03-01 02:14:11 +0100
commit75266d70e4555902631c7e87a2ebd959fafb9b93 (patch)
treeb0d78ffd829bc4b36b9742bd9db634dd21a7343e /lib/python/Components
parentc7a9116bff46e6c9c6f4bdbaf43a3f527f6ec468 (diff)
downloadenigma2-75266d70e4555902631c7e87a2ebd959fafb9b93.tar.gz
enigma2-75266d70e4555902631c7e87a2ebd959fafb9b93.zip
fixes bug #381
some small fixes for the parental control functions
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)