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:
@ -274,6 +274,9 @@ def parse(data, raw=False, quiet=False):
|
|||||||
if temp_rule:
|
if temp_rule:
|
||||||
chain['rules'].append(temp_rule)
|
chain['rules'].append(temp_rule)
|
||||||
|
|
||||||
|
if chain:
|
||||||
|
raw_output.append(chain)
|
||||||
|
|
||||||
if raw:
|
if raw:
|
||||||
return raw_output
|
return raw_output
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user