From 5b35322cd15175024d9a9ad08ddbd0e50a18f1e2 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 24 May 2012 05:32:24 +0200 Subject: [PATCH] Pass the current session to sessiondata constructor. --- wrw/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0