mirror of
https://github.com/assenzostefano/RetniNet.git
synced 2025-03-17 19:20:14 +01:00
Removeprint test for meteo
This commit is contained in:
parent
01b86b0e1b
commit
fff8cc8fa6
1
index.py
1
index.py
@ -98,7 +98,6 @@ def meteo_step(message):
|
||||
city = message.text
|
||||
token_weather = os.environ.get('WEATHER_TOKEN')
|
||||
response = requests.get("https://api.openweathermap.org/data/2.5/weather?q="+city+",it&APPID="+token_weather).json()
|
||||
print(response)
|
||||
weather = response['weather'][0]['main']
|
||||
temp = response['main']['temp']
|
||||
temp = temp - 273.15
|
||||
|
Loading…
x
Reference in New Issue
Block a user