[B.END] Patch: remove only leading whitespaces on long content lines

This commit is contained in:
giuliof 2020-09-20 22:19:57 +02:00
parent a3c3063a26
commit 28055ac06f
1 changed files with 1 additions and 1 deletions

View File

@ -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