changeset 2031:48a61879f9ef

quick frontend (QuickApp): unicode string fix
author Goffi <goffi@goffi.org>
date Tue, 09 Aug 2016 01:08:59 +0200
parents 58a44574c9ad
children d941fa9954f4
files frontends/src/quick_frontend/quick_app.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Mon Aug 08 21:32:21 2016 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Tue Aug 09 01:08:59 2016 +0200
@@ -128,7 +128,7 @@
 
         for contact in presences:
             for res in presences[contact]:
-                jabber_id = ('%s/%s' % (jid.JID(contact).bare, res)) if res else contact
+                jabber_id = (u'%s/%s' % (jid.JID(contact).bare, res)) if res else contact
                 show = presences[contact][res][0]
                 priority = presences[contact][res][1]
                 statuses = presences[contact][res][2]