diff --git a/Docker/snc.py b/Docker/snc.py index 2261da9..f8db191 100644 --- a/Docker/snc.py +++ b/Docker/snc.py @@ -66,7 +66,7 @@ def get_weather(): temp = round(temp * 2 + 0.5) / 2 response['temperature'] = str(temp) + "°C" response['humidity'] = str(data['main']['humidity']) + "%" - response['status'] = data['weather'][0]['description'] + response['status'] = data['weather'][0]['description'].capitalize() windspeed = data['wind']['speed'] if windspeed < 2: diff --git a/script.py b/script.py index 792fab7..59de6ec 100644 --- a/script.py +++ b/script.py @@ -90,7 +90,7 @@ def get_weather(): temp = round(temp * 2 + 0.5) / 2 response['temperature'] = str(temp) + "°C" response['humidity'] = str(data['main']['humidity']) + "%" - response['status'] = data['weather'][0]['description'] + response['status'] = data['weather'][0]['description'].capitalize() windspeed = data['wind']['speed'] if windspeed < 2: