diff --git a/addons/report_webkit/webkit_report.py b/addons/report_webkit/webkit_report.py index dbc0cc6fdc5..5e65afaae25 100644 --- a/addons/report_webkit/webkit_report.py +++ b/addons/report_webkit/webkit_report.py @@ -280,9 +280,7 @@ class WebKitParser(report_sxw): template = False if report_xml.report_file : - # backward-compatible if path in Windows format - report_path = report_xml.report_file.replace("\\", "/") - path = get_module_resource(*report_path.split('/')) + path = get_module_resource(*report_xml.report_file.split('/')) if path and os.path.exists(path) : template = file(path).read() if not template and report_xml.report_webkit_data :