changeset 5433:c800980890aa

Fix for MoinMoinBugs/WerkzeugErrorWithNonAsciiPath ? making sid always ascii
author Eugene Syromyatnikov <evgsyr@gmail.com>
date Fri, 15 Jan 2010 17:35:20 +0300
parents 172d77f67e0a
children 382cc546797e
files MoinMoin/web/session.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/session.py	Fri Jan 15 03:38:05 2010 +0300
+++ b/MoinMoin/web/session.py	Fri Jan 15 17:35:20 2010 +0300
@@ -143,7 +143,7 @@
         if sid is None:
             session = store.new()
         else:
-            session = store.get(sid)
+            session = store.get(str(sid))
         return session
 
     def get_all_session_ids(self, request):