aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/EventView.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Screens/EventView.py b/lib/python/Screens/EventView.py
index 56a9e02c..fa4bb597 100644
--- a/lib/python/Screens/EventView.py
+++ b/lib/python/Screens/EventView.py
@@ -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()