KENLYLST
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
account_financial_report_webkit/report/webkit_parser_header_fix.py
|
|
@ -208,7 +208,7 @@ class HeaderFooterTextWebKitParser(webkit_report.WebKitParser): |
|
|
|
|
|
|
|
if report_xml.report_file: |
|
|
|
path = get_module_resource( |
|
|
|
*report_xml.report_file.split(os.path.sep)) |
|
|
|
*report_xml.report_file.split('/')) |
|
|
|
if os.path.exists(path): |
|
|
|
template = file(path).read() |
|
|
|
if not template and report_xml.report_webkit_data: |
|
|
|