massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
This commit is contained in:
parent
cc829beac7
commit
67ff77e5de
1 changed files with 272 additions and 271 deletions
|
|
@ -92,7 +92,7 @@ class XEP_0163(object):
|
|||
"""
|
||||
profile = self.host.memory.getProfileName(profile_key)
|
||||
if not profile:
|
||||
log.error(_('Trying to send personal event with an unknown profile key [%s]') % profile_key)
|
||||
log.error(_(u'Trying to send personal event with an unknown profile key [%s]') % profile_key)
|
||||
raise exceptions.ProfileUnknownError
|
||||
if not event_type in self.pep_out_cb.keys():
|
||||
log.error(_('Trying to send personal event for an unknown type'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue