Pass the current session to sessiondata constructor.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 24 May 2012 03:32:24 +0000 (05:32 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 24 May 2012 03:32:24 +0000 (05:32 +0200)
wrw/util.py

index 6170c9e..c2af5aa 100644 (file)
@@ -44,7 +44,7 @@ class sessiondata(object):
             except KeyError:
                 if not create:
                     return None
-                ret = cls(req)
+                ret = cls(req, sess)
                 sess[cls] = ret
                 return ret