Improve rain display
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/.project
|
||||
/.pydevproject
|
||||
__pycache__/
|
||||
deploy.sh
|
||||
|
@ -61,7 +61,7 @@ class WeatherToFreemobile():
|
||||
weather.get_detailed_status(),
|
||||
round(float(temp['min'])),
|
||||
round(float(temp['max'])),
|
||||
weather.get_rain()
|
||||
weather.get_rain().get('all',0)
|
||||
)
|
||||
logging.info("Got the following weather: {}".format(return_message))
|
||||
return return_message
|
||||
|
Reference in New Issue
Block a user