From 9fdf43f02d0eebd0eb102008f28db351c67ca078 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Mon, 6 Jul 2020 22:48:57 +0200 Subject: [PATCH] fix weather icon paths --- screenless/bureau/publications/weather.py | 1 + 1 file changed, 1 insertion(+) diff --git a/screenless/bureau/publications/weather.py b/screenless/bureau/publications/weather.py index 5024fb6..ef2343b 100644 --- a/screenless/bureau/publications/weather.py +++ b/screenless/bureau/publications/weather.py @@ -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}