[weboob] =?y?q?=5BPATCH=201/2=5D=20capabilities=2Eweather=3A=20cosmetic=20change?=

Matthieu Weber mweber+weboob at free.fr
Sun Feb 8 19:56:39 CET 2015


Signed-off-by: Matthieu Weber <mweber+weboob at free.fr>
---
 weboob/capabilities/weather.py |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/weboob/capabilities/weather.py b/weboob/capabilities/weather.py
index 888cdb9..4bc8f57 100644
--- a/weboob/capabilities/weather.py
+++ b/weboob/capabilities/weather.py
@@ -43,17 +43,17 @@ class Temperature(BaseObject):
         if not self.unit:
             return u'%s' % int(round(self.value))
         elif self.unit == 'F':
-            return u'%s°F' % int(round(self.value))
+            return u'%s °F' % int(round(self.value))
         else:
-            return u'%s°F' % int(round((self.value * 9.0 / 5.0) + 32))
+            return u'%s °F' % int(round((self.value * 9.0 / 5.0) + 32))
 
     def ascelsius(self):
         if not self.unit:
             return u'%s' % int(round(self.value))
         elif self.unit == 'C':
-            return u'%s°C' % int(round(self.value))
+            return u'%s °C' % int(round(self.value))
         else:
-            return u'%s°C' % int(round((self.value - 32.0) * 5.0 / 9.0))
+            return u'%s °C' % int(round((self.value - 32.0) * 5.0 / 9.0))
 
     def __repr__(self):
         if self.value is not None and self.unit:
-- 
1.7.10.4



More information about the weboob mailing list