From 7ae284b48c0f1380e1cd22860eb8d80241a60757 Mon Sep 17 00:00:00 2001 From: guimoz Date: Fri, 27 Jan 2017 10:06:38 +0100 Subject: [PATCH] More debug for session --- roulette.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roulette.py b/roulette.py index 29053d7..d521c89 100644 --- a/roulette.py +++ b/roulette.py @@ -197,6 +197,8 @@ def playable_required(f): if 'subscribed' not in session or not session['subscribed'] or session['ip'] != ip: session['subscribed'] = user is not None session['ip'] = ip + if DEBUG: + print('New user : ',session) if not session['subscribed']: return render_template('not_subscribed.html')