fix weather icon paths

workspace
Brendan Howell 4 years ago
parent ccd922927b
commit 9fdf43f02d

@ -61,6 +61,7 @@ def get_forecast(lat, lon):
symbol += ".svg"
png += ".png"
icon = os.path.join(thisdir, "weather_icons", symbol)
png = os.path.join(thisdir, "weather_icons", png)
forecast = {"fromtime": fr, "totime": to, "symbol": icon,
"mintemp": mintemp, "maxtemp": maxtemp, "png": png,
"period": periods[fr.hour], "day": day_of}

Loading…
Cancel
Save