Fix le bug quand on tue personne.
This commit is contained in:
parent
bea633782b
commit
e3b78faf98
1 changed files with 2 additions and 1 deletions
|
@ -400,8 +400,9 @@ def play():
|
||||||
elif "up" in STATE or player_has_immunity:
|
elif "up" in STATE or player_has_immunity:
|
||||||
# Traitement de la requête de bannissement
|
# Traitement de la requête de bannissement
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
target_id = int(request.form['target_id'])
|
target_id = request.form['target_id']
|
||||||
if target_id != 'none':
|
if target_id != 'none':
|
||||||
|
target_id = int(target_id)
|
||||||
if is_banned(target_id):
|
if is_banned(target_id):
|
||||||
flash(u'Utilisateur déjà tranché, il faut en choisir un autre.')
|
flash(u'Utilisateur déjà tranché, il faut en choisir un autre.')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue