diff --git a/.gitignore b/.gitignore index 4db54e7..be676bf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.project /.pydevproject __pycache__/ +deploy.sh diff --git a/weather_to_freemobile.py b/weather_to_freemobile.py index 16a8f03..4a56b9a 100755 --- a/weather_to_freemobile.py +++ b/weather_to_freemobile.py @@ -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