server/session.py
changeset 10737 c5b048ae4df5
parent 10663 54b8a1f249fb
child 10752 c69f109293f2
--- a/server/session.py	Wed Sep 30 16:14:29 2015 +0200
+++ b/server/session.py	Wed Sep 30 16:50:06 2015 +0200
@@ -1006,7 +1006,7 @@
     """
 
     def __init__(self, user, repo, cnxprops=None, _id=None):
-        self.sessionid = _id or make_uid(unormalize(user.login).encode('UTF8'))
+        self.sessionid = _id or make_uid(unormalize(user.login))
         self.user = user # XXX repoapi: deprecated and store only a login.
         self.repo = repo
         self.vreg = repo.vreg