Round temperature, fixes #1
This commit is contained in:
@ -51,8 +51,8 @@ class WeatherToFreemobile():
|
||||
return_message += '{} : {} (min {}ºC, max {}ºC, rain:{}mm)'.format(
|
||||
weather.get_reference_time('date').strftime('%x'),
|
||||
weather.get_detailed_status(),
|
||||
temp['min'],
|
||||
temp['max'],
|
||||
round(float(temp['min'])),
|
||||
round(float(temp['max'])),
|
||||
weather.get_rain()
|
||||
)
|
||||
logging.info("Got the following weather: {}".format(return_message))
|
||||
|
Reference in New Issue
Block a user