From e797912dc11047418da713288bffcbf0c1559d89 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Mon, 16 May 2011 23:57:19 -0700 Subject: [PATCH] Bug fix-bug fix: Unicode that html (animation stuff) --- convo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convo.py b/convo.py index 2b26625..028a161 100644 --- a/convo.py +++ b/convo.py @@ -249,7 +249,7 @@ class PesterText(QtGui.QTextEdit): url = self.urls[movie].toString() def stuff(mo): return '' % (url, frame) - html = re.sub(r'' % (url), stuff, str(self.toHtml())) + html = re.sub(r'' % (url), stuff, unicode(self.toHtml())) self.setHtml(html) self.setLineWrapColumnOrWidth(self.lineWrapColumnOrWidth()) self.verticalScrollBar().setSliderPosition(scrollPos)