[Bug #1318] fix htmltable display for wetboobs forecast command

This commit is contained in:
Bezleputh 2013-12-02 20:29:42 +01:00 committed by Florent
commit bd0d1d3eff

View file

@ -55,6 +55,10 @@ class Temperature(CapBaseObject):
else:
return u'%s°C' % int(round((self.value - 32.0) * 5.0 / 9.0))
def __repr__(self):
if self.value and self.unit:
return u'%s %s' % (self.value, self.unit)
class Forecast(CapBaseObject):
"""