More debug for session

This commit is contained in:
guimoz 2017-01-27 10:06:38 +01:00
parent 800f8dee99
commit 7ae284b48c

View file

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