Merge pull request #19 from jonathonfletcher/master

do not unpack initial in call to ServerSideSession's super.
This commit is contained in:
Kroket Ltd
2023-11-24 04:07:24 +02:00
committed by GitHub
+1 -1
View File
@@ -31,7 +31,7 @@ class ServerSideSession(SecureCookieSession):
"""Baseclass for server-side based sessions."""
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
if permanent:
self.permanent = permanent