forked from openlp/openlp
fixed crash
This commit is contained in:
parent
8451d52f27
commit
01c286e50e
@ -254,7 +254,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
|||||||
"""
|
"""
|
||||||
element = html.Element(tag)
|
element = html.Element(tag)
|
||||||
if text is not None:
|
if text is not None:
|
||||||
element.text = text
|
element.text = unicode(text)
|
||||||
if parent is not None:
|
if parent is not None:
|
||||||
parent.append(element)
|
parent.append(element)
|
||||||
if attribute is not None:
|
if attribute is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user