Logical error
This commit is contained in:
parent
d062d4d503
commit
800f8dee99
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ def playable_required(f):
|
|||
ip=get_ip()
|
||||
user = get_player_from_ip(ip)
|
||||
|
||||
if not session['ip']:
|
||||
if 'ip' in session:
|
||||
# On enregistre l'ip afin d'éviter les problèmes lors du déplacement des user (rez <-> Supelec)
|
||||
session['ip'] = ip
|
||||
|
||||
|
|
Loading…
Reference in a new issue