waybar: Fix khal cli parsing

Its output format changed between 0.10.4 and 0.10.5.
This commit is contained in:
Simon Bruder 2022-07-08 11:23:38 +02:00
parent 4af15f2139
commit 453128db03
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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