Oops, should be .remove instead of .pop for the cacheclass.
This commit is contained in:
parent
77dfeb4299
commit
abaeb2321f
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class SessionManager:
|
|||
def remove(self, token):
|
||||
token = _normalize_token(token)
|
||||
try:
|
||||
self.sessions.pop(token)
|
||||
self.sessions.remove(token)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue