fixed crash

This commit is contained in:
Andreas Preikschat 2011-04-13 20:01:28 +02:00
parent 8451d52f27
commit 01c286e50e

View File

@ -254,7 +254,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
"""
element = html.Element(tag)
if text is not None:
element.text = text
element.text = unicode(text)
if parent is not None:
parent.append(element)
if attribute is not None: