unicode() -> str()

This commit is contained in:
Yann Leboulanger 2014-02-15 21:09:13 +01:00
parent 753c727f6e
commit 67662ef6c0
1 changed files with 1 additions and 1 deletions

View File

@ -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