# HG changeset patch # User Mads Kiilerich # Date 2016-02-21 14:44:05 # Node ID 4db2e72c35e4fdfc88c13466301dd35b797122db # Parent 5c7b177d70ff7d81a22607a2dfd3e366a2dc6c30 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. diff --git a/kallithea/model/user.py b/kallithea/model/user.py --- a/kallithea/model/user.py +++ b/kallithea/model/user.py @@ -191,7 +191,7 @@ class UserModel(BaseModel): # 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'