waybar: Fix khal cli parsing

Its output format changed between 0.10.4 and 0.10.5.
nazuna
Simon Bruder 2022-07-08 11:23:38 +02:00
parent 4af15f2139
commit 453128db03
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ in
.replace("WAYBARENDKHAL", "</b>")
)
if len(events_today) == 1 and events_today[0] == "No events":
if events_today == [""]:
events_today = []
if len(events_today) == 0: