general fixes
This commit is contained in:
parent
281d786c19
commit
885b838704
7 changed files with 66 additions and 23 deletions
|
@ -18,23 +18,22 @@ class Weather:
|
|||
data = {
|
||||
"temperature": weather.temperature,
|
||||
"humidity": weather.humidity,
|
||||
"unit": weather.unit,
|
||||
"unit": str(weather.unit),
|
||||
"datetime": weather.datetime,
|
||||
"coordinates": weather.coordinates,
|
||||
"country": weather.country,
|
||||
"daily_forecasts": weather.daily_forecasts,
|
||||
"description": weather.description,
|
||||
"feels_like": weather.feels_like,
|
||||
"kind": weather.kind,
|
||||
"kind": str(weather.kind),
|
||||
"local_population": weather.local_population,
|
||||
"locale": weather.locale,
|
||||
"locale": str(weather.locale),
|
||||
"location": weather.location,
|
||||
"precipitation": weather.precipitation,
|
||||
"pressure": weather.pressure,
|
||||
"region": weather.region,
|
||||
"ultraviolet": weather.ultraviolet,
|
||||
"ultraviolet": str(weather.ultraviolet),
|
||||
"visibility": weather.visibility,
|
||||
"wind_direction": weather.wind_direction,
|
||||
"wind_direction": str(weather.wind_direction),
|
||||
"wind_speed": weather.wind_speed,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue