weather: Display only sunrise/set hour
This commit is contained in:
parent
b985ea7a92
commit
9236ded404
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue