fix hotbug🚀
This commit is contained in:
@ -32,7 +32,6 @@ def get_city_weather(city):
|
|||||||
'days': '1'
|
'days': '1'
|
||||||
}
|
}
|
||||||
response = requests.get(URL, params=params)
|
response = requests.get(URL, params=params)
|
||||||
print(111, response)
|
|
||||||
data = response.json()
|
data = response.json()
|
||||||
current = data['current']
|
current = data['current']
|
||||||
temperature = current['temperature']
|
temperature = current['temperature']
|
||||||
|
|||||||
Reference in New Issue
Block a user