From 90e867b797d8e31fca5d1438778f52cdadba6ea2 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 7 Jul 2013 16:19:18 +0200 Subject: [PATCH] fixed service print --- openlp/core/ui/printserviceform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/printserviceform.py b/openlp/core/ui/printserviceform.py index c285662bb..169478106 100644 --- a/openlp/core/ui/printserviceform.py +++ b/openlp/core/ui/printserviceform.py @@ -183,7 +183,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog): self._add_element( u'span', translate('OpenLP.ServiceManager', 'Custom Service Notes: '), div, classId=u'customNotesTitle') self._add_element(u'span', cgi.escape(self.footer_text_edit.toPlainText()), div, classId=u'customNotesText') - self.document.setHtml(html.tostring(html_data)) + self.document.setHtml(html.tostring(html_data).decode()) self.preview_widget.updatePreview() def _add_preview_item(self, body, item, index):