fix bsod
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 20 Apr 2006 00:51:24 +0000 (00:51 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 20 Apr 2006 00:51:24 +0000 (00:51 +0000)
lib/python/Screens/EventView.py

index 56a9e02..fa4bb59 100644 (file)
@@ -88,6 +88,8 @@ class EventViewBase:
                        return 1
 
        def setEvent(self, event):
+               if event is None:
+                       return
                self.event = event
                text = event.getEventName()
                short = event.getShortDescription()