Skip to content
Snippets Groups Projects
Commit 67662ef6 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

unicode() -> str()

parent 753c727f
No related branches found
No related tags found
No related merge requests found
...@@ -1286,7 +1286,7 @@ class ConversationTextview(GObject.GObject): ...@@ -1286,7 +1286,7 @@ class ConversationTextview(GObject.GObject):
tim = time.localtime() tim = time.localtime()
current_print_time = gajim.config.get('print_time') current_print_time = gajim.config.get('print_time')
if text.startswith('/me '): if text.startswith('/me '):
direction_mark = i18n.paragraph_direction_mark(unicode(text[3:])) direction_mark = i18n.paragraph_direction_mark(str(text[3:]))
else: else:
direction_mark = i18n.paragraph_direction_mark(text) direction_mark = i18n.paragraph_direction_mark(text)
# don't apply direction mark if it's status message # don't apply direction mark if it's status message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment