1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

fix when line

This commit is contained in:
Kelly Brazil
2019-10-30 17:03:35 -07:00
parent 72cae95777
commit d3e1aa20a8

View File

@ -172,7 +172,7 @@ def parse(data):
# footer line 3
if line.find(';; WHEN:') == 0:
output_entry.update({'when': line.split(':')[1].lstrip()})
output_entry.update({'when': line.split(':', maxsplit=1)[1].lstrip()})
continue
# footer line 4 (last line)