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):
|
def remove(self, token):
|
||||||
token = _normalize_token(token)
|
token = _normalize_token(token)
|
||||||
try:
|
try:
|
||||||
self.sessions.pop(token)
|
self.sessions.remove(token)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue