fix typo
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 8 Jan 2007 18:49:28 +0000 (18:49 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 8 Jan 2007 18:49:28 +0000 (18:49 +0000)
lib/python/Components/ParentalControl.py

index 4bf1806..057537e 100644 (file)
@@ -63,7 +63,7 @@ class ParentalControl:
                        self.serviceLevel.remove(service)
                                
        def isServicePlayable(self, service, callback):
                        self.serviceLevel.remove(service)
                                
        def isServicePlayable(self, service, callback):
-               if not config.ParentalControl.configured.value or not config.ParentalControl.setuppinactive.value:
+               if not config.ParentalControl.configured.value or not config.ParentalControl.servicepinactive.value:
                        return True
                #print "whitelist:", self.whitelist
                #print "blacklist:", self.blacklist
                        return True
                #print "whitelist:", self.whitelist
                #print "blacklist:", self.blacklist