This commit is contained in:
guimoz 2017-01-29 19:55:54 +01:00
parent 0acf16f411
commit e9c244aa37

View file

@ -361,7 +361,7 @@ def home():
bans_hist.append(entry)
return render_template('home.html', bans_hist=bans_hist)
else STATE:
else:
return render_template('precampagne.html', user=player)
@app.route('/jouer', methods=['GET', 'POST'])
@ -398,7 +398,7 @@ def play():
players = filter(lambda p: p['id'] != player['id'], players)
return render_template('play.html', players=players)
else STATE:
else:
return render_template('precampagne.html', user=player)
if __name__ == '__main__':