do not let the user leave the parental control setup when setup protection
[enigma2.git] / lib / python / Screens / ServiceInfo.py
index e4735f413fc2feb494d48e371b14681c1955d913..fa94815094e572e2d0b48b5e828ddd13f25bfab7 100644 (file)
@@ -100,7 +100,7 @@ class ServiceInfo(Screen):
 
        def information(self):
                if self.type == TYPE_SERVICE_INFO:
-                       if self.session.nav.getCurrentlyPlayingServiceReference() is not None:
+                       if self.session.nav.getCurrentlyPlayingServiceReference():
                                name = ServiceReference(self.session.nav.getCurrentlyPlayingServiceReference()).getServiceName()
                        else:
                                name = "N/A"