- # check "pre"
- if "pre" in item["attrs"]:
- print (item["attrs"]["pre"], end="", file=outfile)
- # proceed working
- nexthiera = item["items"]
- if value:
- print (value, end="", file=outfile)
- process_file_layer(source, outfile, global_defs, nexthiera, functions, target)
+ else:
+ # proceed working
+ nexthiera = item["items"]
+ if value:
+ print (value, end="", file=outfile)
+ process_file_layer(source, outfile, global_defs, nexthiera, functions, target)