From: Stefan Pluecken Date: Wed, 22 Mar 2006 21:15:43 +0000 (+0000) Subject: don't show frontend data when no frontend data is available (remove exception) X-Git-Tag: 2.6.0~3783 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/6a93f449730ffbeed819786a4dcd0bd5803511b7 don't show frontend data when no frontend data is available (remove exception) --- 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),