initialize self.zapFunc always.. this fixes a bluescreen on red button press when
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 5 May 2006 08:19:40 +0000 (08:19 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 5 May 2006 08:19:40 +0000 (08:19 +0000)
epgtype is not multiepg

lib/python/Screens/EpgSelection.py

index 331fe75..3dbba0f 100644 (file)
@@ -32,11 +32,13 @@ class EPGSelection(Screen):
                        self["key_red"] = Button()
                        self.currentService=service
                        self.eventid = eventid
+                       self.zapFunc = None
                elif isinstance(service, eServiceReference) or isinstance(service, str):
                        self.type = EPG_TYPE_SINGLE
                        self["key_yellow"] = Button()
                        self["key_blue"] = Button()
                        self.currentService=ServiceReference(service)
+                       self.zapFunc = None
                else:
                        self.skinName = "EPGSelectionMulti"
                        self.type = EPG_TYPE_MULTI