massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions

This commit is contained in:
souliane 2015-04-16 14:57:57 +02:00
commit 67ff77e5de

View file

@ -221,7 +221,7 @@ class XEP_0048(object):
d = self.host.plugins['XEP-0045'].join(room_jid, nick, {}, profile_key=profile)
def join_eb(failure):
log.warning("Error while trying to join room: %s" % failure)
log.warning(u"Error while trying to join room: %s" % failure)
# FIXME: failure are badly managed in plugin XEP-0045. Plugin XEP-0045 need to be fixed before managing errors correctly here
return {}
d.addCallbacks(lambda dummy: {}, join_eb)