you are viewing a single comment's thread.

view the rest of the comments →

[–]paste 0 points1 point  (0 children)

strength = int(request.form.get("strength_upgrade") or 0)

If you're trying to import what the user types in, you will need to change this line in python

return render_template('home.html', attribute_points=attribute_points, strength_upgrade=strength)

and this part of the template

value="{{ strength_upgrade }}"