From 28055ac06f51de70686fb4cfc7b05c943a1ef7fb Mon Sep 17 00:00:00 2001 From: giuliof Date: Sun, 20 Sep 2020 22:19:57 +0200 Subject: [PATCH] [B.END] Patch: remove only leading whitespaces on long content lines --- getInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getInfo.py b/getInfo.py index 10f8f35..2c77bc8 100755 --- a/getInfo.py +++ b/getInfo.py @@ -73,7 +73,7 @@ def getEvents(baseDay, interval): # i.e. begins with SPACE or HTAB. if item[0] == ' ' or item[0] == '\t': try: - event_dict[propertyName] += item.strip() + event_dict[propertyName] += item.lstrip() except KeyError: # Malformed line or, more probably, programmer's error pass