From 6a93f449730ffbeed819786a4dcd0bd5803511b7 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 22 Mar 2006 21:15:43 +0000 Subject: don't show frontend data when no frontend data is available (remove exception) --- lib/python/Screens/ServiceInfo.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/python') diff --git a/lib/python/Screens/ServiceInfo.py b/lib/python/Screens/ServiceInfo.py index 5c23b025..faa006bd 100644 --- a/lib/python/Screens/ServiceInfo.py +++ b/lib/python/Screens/ServiceInfo.py @@ -119,6 +119,8 @@ class ServiceInfo(Screen): self.fillList(Labels) def getFEData(self, frontendData): + if frontendData is None: + return [] if frontendData["tuner_type"] == "DVB-S": return ( ("NIM", ['A', 'B', 'C', 'D'][frontendData["tuner_number"]], TYPE_TEXT), ("Type", frontendData["tuner_type"], TYPE_TEXT), -- cgit v1.2.3