Oops, should be .remove instead of .pop for the cacheclass.

master
voussoir 2018-03-23 00:33:50 -07:00
parent 77dfeb4299
commit abaeb2321f
1 changed files with 1 additions and 1 deletions

View File

@ -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