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 331fe75e11b3233c1255fd7ab0c7b9171b0f99ea..3dbba0fd6b162b4e619b25af7dc1cc41bae7d132 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