X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FParentalControl.py;h=0ea65cd2cf1c7e70e86b78ef03e6e8c044ea9610;hb=64d399c3d183fa3f7d02fb73e474e42583538def;hp=63b5ccfb8ab088fad861c5d32c94034a9ca51d30;hpb=dd2f75a38c17459f1a3d46cf529a6b4fe3f7e3f2;p=vuplus_dvbapp diff --git a/lib/python/Components/ParentalControl.py b/lib/python/Components/ParentalControl.py index 63b5ccf..0ea65cd 100644 --- a/lib/python/Components/ParentalControl.py +++ b/lib/python/Components/ParentalControl.py @@ -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()