diff src/plugins/plugin_xep_0095.py @ 1409:3265a2639182

massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author souliane <souliane@mailoo.org>
date Thu, 16 Apr 2015 14:57:57 +0200
parents 069ad98b360d
children d04d7402b8e9
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0095.py	Thu Apr 16 13:31:14 2015 +0200
+++ b/src/plugins/plugin_xep_0095.py	Thu Apr 16 14:57:57 2015 +0200
@@ -182,7 +182,7 @@
 
         offer = client.IQ(xmlstream, 'set')
         sid = str(uuid.uuid4())
-        log.debug(_("Stream Session ID: %s") % offer["id"])
+        log.debug(_(u"Stream Session ID: %s") % offer["id"])
 
         offer["from"] = current_jid.full()
         offer["to"] = to_jid.full()