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:
@ -172,7 +172,7 @@ def parse(data):
|
|||||||
|
|
||||||
# footer line 3
|
# footer line 3
|
||||||
if line.find(';; WHEN:') == 0:
|
if line.find(';; WHEN:') == 0:
|
||||||
output_entry.update({'when': line.split(':')[1].lstrip()})
|
output_entry.update({'when': line.split(':', maxsplit=1)[1].lstrip()})
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# footer line 4 (last line)
|
# footer line 4 (last line)
|
||||||
|
Reference in New Issue
Block a user