diff --git a/modules/weather.py b/modules/weather.py index e4e0905..b199024 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -186,6 +186,7 @@ class WeatherSunModule: for icon, info in infos.items(): if info == "": continue + info = info.strftime("%H:%M:%S") icon = Image.open(os.path.join(config.icons_dir, "weather", "wi-" + icon + ".png")).resize((height, height)) image.paste(icon, (int(align),0), icon) align += height + 2