typo: self.session.expiry -> self.session_expiry
This commit is contained in:
1 parent
44c13f9fa3
commit
c20c055788
1 file changed
+1
-1
@@ -189,7 +189,7 @@ class MockQuery(object):
|
||||
key = "%s:%s" % (self.keyprefix, self.value)
|
||||
rtn = self.db.hmset(key, kwargs)
|
||||
if self.session_expiry:
|
||||
self.db.expire(key, self.session.expiry)
|
||||
self.db.expire(key, self.session_expiry)
|
||||
return rtn
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user