Browse Source

Fix native flag

pull/347/head
Laurent Mignon 8 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
7b37a5c2b7
  1. 2
      report_py3o/py3o_parser.py

2
report_py3o/py3o_parser.py

@ -152,7 +152,7 @@ class Py3oParser(report_sxw):
input = data_struct.render(localcontext)
filetype = report_xml.py3o_fusion_filetype
is_native = Formats().get_format(filetype)
is_native = Formats().get_format(filetype).native
if is_native:
res = input
else: # Call py3o.server to render the template in the desired format

Loading…
Cancel
Save