1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-07 00:57:22 +02:00

more explanations

This commit is contained in:
Eden Refael
2024-11-28 20:21:37 +02:00
parent b6032863ac
commit f26d28638a

View File

@ -109,10 +109,9 @@ def parse(
# check if string
jc.utils.input_type_check(data)
# split the output lines \r\n or \n
# raw_output = []
# lines: list = list(filter(None, data.splitlines())) # lines=cleandata
# starts the parsing from here
mapping = {}
# split lines and than work on each line
lines = data.splitlines()
first_line = lines[0].strip()