summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Guégan <manzerbredes@mailbox.org>2025-07-26 20:58:55 +0200
committerLoïc Guégan <manzerbredes@mailbox.org>2025-07-26 20:58:55 +0200
commit84367ec5cf17e91145ca7caed14077a1f7079fac (patch)
tree15507d08ea20ab98bdf6edc0a79c568ecc3f896c
parent407dc1493b931731a50e49f2bc5167044073b12e (diff)
Minor changes
-rwxr-xr-xmain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.py b/main.py
index 5287a45..d42ebe0 100755
--- a/main.py
+++ b/main.py
@@ -45,6 +45,8 @@ def formatevents(d):
for e in events:
_e=events[e]
if (not _e["hidden"]) and (_e["date"].date() == d.date() or matchrepeat(d, e)):
+ if len(output)!=0:
+ output+="\n"
if _e["start"] is not None:
output+=gettime(_e["start"])+"-"+gettime(_e["end"])+"\n"
if _e["room"] is not None: