support up to 8 fan/temp sensors
[vuplus_dvbapp] / lib / python / Components / Converter / SensorToText.py
index ab87ee2..fb156fa 100644 (file)
@@ -5,6 +5,8 @@ class SensorToText(Converter, object):
                Converter.__init__(self, arguments)
         
        def getText(self):
+               if self.source.getValue() is None:
+                       return ""
                return "%d %s" % (self.source.getValue(), self.source.getUnit())
        
        text = property(getText)