TranscodingSetup : fix misspelling name.
[vuplus_dvbapp] / lib / python / Components / ParentalControl.py
index 63b5ccf..0ea65cd 100644 (file)
@@ -21,6 +21,8 @@ IMG_BLACKSERVICE = LIST_BLACKLIST + "-" + TYPE_SERVICE
 IMG_BLACKBOUQUET = LIST_BLACKLIST + "-" + TYPE_BOUQUET
 
 def InitParentalControl():
+       global parentalControl
+       parentalControl = ParentalControl()
        config.ParentalControl = ConfigSubsection()
        config.ParentalControl.configured = ConfigYesNo(default = False)
        config.ParentalControl.mode = ConfigSelection(default = "simple", choices = [("simple", _("simple")), ("complex", _("complex"))])
@@ -320,4 +322,3 @@ class ParentalControl:
                self.openListFromFile(LIST_BLACKLIST)
                self.openListFromFile(LIST_WHITELIST)
 
-parentalControl = ParentalControl()