projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support up to 8 fan/temp sensors
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Converter
/
SensorToText.py
diff --git
a/lib/python/Components/Converter/SensorToText.py
b/lib/python/Components/Converter/SensorToText.py
index
ab87ee2
..
fb156fa
100644
(file)
--- a/
lib/python/Components/Converter/SensorToText.py
+++ b/
lib/python/Components/Converter/SensorToText.py
@@
-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)