Commit c6940b72 authored by Michal Čihař's avatar Michal Čihař

Use repr

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 7523b099
......@@ -42,7 +42,7 @@ class WeblateExceptionReporterFilter(SafeExceptionReporterFilter):
if (hasattr(request, 'user')
and request.user.is_authenticated()):
user = request.user.username.encode('utf-8')
user = repr(request.user.username)
else:
user = None
......
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