[Fix] Bug 333273:Report_sxw corrected(ref : Davide Corio)
bzr revid: jvo@tinyerp.com-20090226072442-3ub70vavmfhthtwl
This commit is contained in:
@@ -519,8 +519,8 @@ class rml_parse(object):
|
||||
if not self.logo and rml_head.find('company.logo')>=0:
|
||||
rml_head = rml_head.replace('<image','<!--image')
|
||||
rml_head = rml_head.replace('</image>','</image-->')
|
||||
|
||||
head_dom = xml.dom.minidom.parseString(rml_head)
|
||||
|
||||
head_dom = xml.dom.minidom.parseString(rml_head.encode('utf-8'))
|
||||
#for frame in head_dom.getElementsByTagName('frame'):
|
||||
# frame.parentNode.removeChild(frame)
|
||||
node2 = head_dom.documentElement
|
||||
|
||||
Reference in New Issue
Block a user