From ec4b5b014b3acf1cb122acee61114f34bd3f43ce Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 13 Jan 2018 16:14:01 -0800 Subject: [PATCH] Oops, fix missing return statement. That would cause problems. --- frontends/etiquette_flask/etiquette_flask/sessions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/etiquette_flask/etiquette_flask/sessions.py b/frontends/etiquette_flask/etiquette_flask/sessions.py index 80c4cf9..46e79ae 100644 --- a/frontends/etiquette_flask/etiquette_flask/sessions.py +++ b/frontends/etiquette_flask/etiquette_flask/sessions.py @@ -15,6 +15,7 @@ def _generate_token(length=32): def _normalize_token(token): if isinstance(token, flask.Request): token = token.cookies.get('etiquette_session', None) + return token class SessionManager: