From: Fredrik Tolf Date: Thu, 24 May 2012 03:32:24 +0000 (+0200) Subject: Pass the current session to sessiondata constructor. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=5b35322cd15175024d9a9ad08ddbd0e50a18f1e2;p=wrw.git Pass the current session to sessiondata constructor. --- diff --git a/wrw/util.py b/wrw/util.py index 6170c9e..c2af5aa 100644 --- a/wrw/util.py +++ b/wrw/util.py @@ -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