Added redirect after post
parent
84cdf65c3a
commit
22c62bb513
2
main.py
2
main.py
|
@ -47,7 +47,7 @@ def move():
|
||||||
else:
|
else:
|
||||||
AN = request.forms.get("move")
|
AN = request.forms.get("move")
|
||||||
valid = games[id].AN_move(AN)
|
valid = games[id].AN_move(AN)
|
||||||
return template(TEMPLATE, game=games[id], valid=valid)
|
redirect("/game/")
|
||||||
|
|
||||||
|
|
||||||
run(host="localhost", port=8080)
|
run(host="localhost", port=8080)
|
||||||
|
|
Loading…
Reference in New Issue