Better fix for printscreen

bzr revid: ced-631f8c3681eff556fb19352542b84a85cad1cd35
This commit is contained in:
ced 2007-10-04 05:58:35 +00:00
parent 122217e5fe
commit b5ae0a5ba8
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class report_printscreen_list(report_int):
for f in fields_order:
field = new_doc.createElement("field")
field_txt = new_doc.createTextNode(fields[f]['string'].encode('utf-8'))
field_txt = new_doc.createTextNode(str(fields[f]['string']))
field.appendChild(field_txt)
header.appendChild(field)

View File

@ -136,7 +136,7 @@ class report_printscreen_list(report_int):
for f in fields_order:
field = new_doc.createElement("field")
field_txt = new_doc.createTextNode(fields[f]['string'].encode('utf-8'))
field_txt = new_doc.createTextNode(str(fields[f]['string'] or ''))
field.appendChild(field_txt)
header.appendChild(field)