Commit 82b40ec4 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files

db.py use utf encoded string for MsgAdapter

See #3055
parent 514a53fc
......@@ -313,7 +313,7 @@ class MsgUserAdapter(logging.LoggerAdapter):
usern = usern.replace(' ','-')
if auth.is_impersonating():
usern = 'team!' + usern
new_msg = '%30s %12s %s' % (ip, ('<%s>' % usern), msg)
new_msg = u'%30s %12s %s' % (ip, (u'<%s>' % usern), msg)
return new_msg, kwargs
def admin(self, msg):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment