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"))])
self.openListFromFile(LIST_BLACKLIST)
self.openListFromFile(LIST_WHITELIST)
-parentalControl = ParentalControl()