do not unpack initial in call to ServerSideSession's super.
This commit is contained in:
@@ -31,7 +31,7 @@ class ServerSideSession(SecureCookieSession):
|
|||||||
"""Baseclass for server-side based sessions."""
|
"""Baseclass for server-side based sessions."""
|
||||||
|
|
||||||
def __init__(self, initial=None, sid=None, permanent=None, addr=None):
|
def __init__(self, initial=None, sid=None, permanent=None, addr=None):
|
||||||
super(ServerSideSession, self).__init__(**initial or {})
|
super(ServerSideSession, self).__init__(initial or {})
|
||||||
self.sid = sid
|
self.sid = sid
|
||||||
if permanent:
|
if permanent:
|
||||||
self.permanent = permanent
|
self.permanent = permanent
|
||||||
|
|||||||
Reference in New Issue
Block a user