mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
maxsplit line
This commit is contained in:
@ -116,7 +116,7 @@ def parse(
|
||||
if jc.utils.has_data(data):
|
||||
|
||||
for line in filter(None, data.splitlines()):
|
||||
key, val = line.split(':')
|
||||
key, val = line.split(':', maxsplit=1)
|
||||
key = key.strip()
|
||||
val = val.strip()
|
||||
|
||||
|
Reference in New Issue
Block a user