From 67662ef6c0e038b932872b2b6d5c96275fe083ee Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Sat, 15 Feb 2014 21:09:13 +0100 Subject: [PATCH] unicode() -> str() --- src/conversation_textview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index e9712d91cc..99b347a9a6 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -1286,7 +1286,7 @@ class ConversationTextview(GObject.GObject): tim = time.localtime() current_print_time = gajim.config.get('print_time') if text.startswith('/me '): - direction_mark = i18n.paragraph_direction_mark(unicode(text[3:])) + direction_mark = i18n.paragraph_direction_mark(str(text[3:])) else: direction_mark = i18n.paragraph_direction_mark(text) # don't apply direction mark if it's status message -- GitLab