Better fix for printscreen
bzr revid: ced-631f8c3681eff556fb19352542b84a85cad1cd35
This commit is contained in:
parent
122217e5fe
commit
b5ae0a5ba8
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue