[B.END] Patch: remove only leading whitespaces on long content lines
This commit is contained in:
parent
a3c3063a26
commit
28055ac06f
|
@ -73,7 +73,7 @@ def getEvents(baseDay, interval):
|
||||||
# i.e. begins with SPACE or HTAB.
|
# i.e. begins with SPACE or HTAB.
|
||||||
if item[0] == ' ' or item[0] == '\t':
|
if item[0] == ' ' or item[0] == '\t':
|
||||||
try:
|
try:
|
||||||
event_dict[propertyName] += item.strip()
|
event_dict[propertyName] += item.lstrip()
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# Malformed line or, more probably, programmer's error
|
# Malformed line or, more probably, programmer's error
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue