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

fix to include the final chain in output

This commit is contained in:
Kelly Brazil
2020-06-22 11:09:09 -07:00
parent 3ee098306d
commit b282820fd6

View File

@ -274,6 +274,9 @@ def parse(data, raw=False, quiet=False):
if temp_rule:
chain['rules'].append(temp_rule)
if chain:
raw_output.append(chain)
if raw:
return raw_output
else: