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