Mercurial > kallithea
changeset 5719:4db2e72c35e4 stable
users: fix crash when creating users with non ASCII characters
This was already changed by the cleaned up on the default branch in
330c671dd451 but happened to also fix this issue on the stable branch.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 21 Feb 2016 15:44:05 +0100 |
parents | 5c7b177d70ff |
children | 12f1f5b1dcab |
files | kallithea/model/user.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/model/user.py Mon Feb 15 19:29:14 2016 +0100 +++ b/kallithea/model/user.py Sun Feb 21 15:44:05 2016 +0100 @@ -191,7 +191,7 @@ # notification to admins subject = _('New user registration') body = ( - 'New user registration\n' + u'New user registration\n' '---------------------\n' '- Username: {user.username}\n' '- Full Name: {user.full_name}\n'