From 63eed107e370841740252dcf0ffd9965e7ce69e2 Mon Sep 17 00:00:00 2001 From: Matthieu Weber Date: Sun, 8 Feb 2015 20:08:03 +0100 Subject: [PATCH] capabilities.weather: cosmetic change --- 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 ce121d17..b3d21b85 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: