1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

simplify return

This commit is contained in:
Kelly Brazil
2022-10-26 15:21:37 -07:00
parent 6a5251f0ef
commit d79d9c7f13

View File

@ -157,7 +157,4 @@ def parse(
for row in reader:
raw_output.append(row)
if raw:
return raw_output
else:
return _process(raw_output)
return raw_output if raw else _process(raw_output)