basic weather added
This commit is contained in:
@@ -224,7 +224,7 @@ def updateWeather(location, api_key):
|
||||
url = "https://api.openweathermap.org/data/2.5/weather?q={}&units=metric&appid={}".format(location, api_key)
|
||||
r = requests.get(url)
|
||||
weather = r.json()
|
||||
|
||||
print(weather)
|
||||
current_weather = {}
|
||||
|
||||
coords = weather['coord']
|
||||
|
Reference in New Issue
Block a user