summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: