changing stuff

This commit is contained in:
2025-03-24 17:06:36 -07:00
parent 3ab067c35e
commit 20ce61bedb
12 changed files with 17 additions and 14 deletions

View File

@@ -21,6 +21,7 @@ def get_weather_icon(description):
"overcast clouds": "☁️",
"shower rain": "🌦️",
"light rain": "🌧️",
"light intensity drizzle": "🌧️",
"moderate rain": "🌧️",
"rain": "🌧️",
"thunderstorm": "⛈️",
@@ -42,7 +43,7 @@ try:
#print(weather_data)
weather_desc = weather_data["weather"][0]["description"]
#print(weather_desc)
(weather_desc)
temp_c = round(weather_data["main"]["temp"])
temp_f = round(celsius_to_fahrenheit(temp_c))
weather_icon = get_weather_icon(weather_desc)