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

This commit is contained in:
voussoir 2018-03-23 00:33:50 -07:00
parent 77dfeb4299
commit abaeb2321f

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