summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornags <nags@nags-desktop.(none)>2010-02-10 22:38:17 -0800
committernags <nags@nags-desktop.(none)>2010-02-10 22:38:17 -0800
commitb15d8d7cd27960714dd403efb9daf5d9dbfb0723 (patch)
tree6a307179cd706bfc9105804049e137811aadf1f9
parentbe39f4b0fd239fe1936ab11482693f208483bbf0 (diff)
Always return unicode string
-rw-r--r--ldtpd/text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldtpd/text.py b/ldtpd/text.py
index 1b0919f..12d68c8 100644
--- a/ldtpd/text.py
+++ b/ldtpd/text.py
@@ -182,7 +182,7 @@ class Text(Utils):
else:
end = texti.characterCount
- return texti.getText(start, end)
+ return unicode(texti.getText(start, end))
def verifypartialmatch(self, window_name, object_name, partial_text):
'''