diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-03-01 01:47:26 +0100 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-03-01 01:53:32 +0100 |
| commit | 31037f2bac27fb9a592d63a09e1e9ef2792f8e7e (patch) | |
| tree | 09f6dd8980e3fd5555d1d04bf52df7988cc6e0f8 /lib/python/Components/ParentalControl.py | |
| parent | eca33f89346b4ad0e7bbaef7438e8a87daa963a9 (diff) | |
| download | enigma2-31037f2bac27fb9a592d63a09e1e9ef2792f8e7e.tar.gz enigma2-31037f2bac27fb9a592d63a09e1e9ef2792f8e7e.zip | |
fixes bug #381
some small fixes for the parental control functions
Diffstat (limited to 'lib/python/Components/ParentalControl.py')
| -rw-r--r-- | lib/python/Components/ParentalControl.py | 3 |
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) |
