[FIX] path declaration must be OS independant => use '/' as neutral path separator

lp bug: https://launchpad.net/bugs/1159702 fixed

bzr revid: olivier.laurent@acsone.eu-20130325164907-4j1ki08mxp0a6y4o
This commit is contained in:
Olivier LAURENT
2013-03-25 17:49:07 +01:00
parent 8f6e543d70
commit 396eec00aa
+1 -1
View File
@@ -219,7 +219,7 @@ class WebKitParser(report_sxw):
template = False
if report_xml.report_file :
path = addons.get_module_resource(*report_xml.report_file.split(os.path.sep))
path = addons.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 :