Skip to content

Commit

Permalink
fix htmx/flask demo
Browse files Browse the repository at this point in the history
  • Loading branch information
pelme committed May 10, 2024
1 parent b9f9e2b commit b439335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/htmx_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def home():

@app.route("/count")
def counter():
one_to_ten = [li[i] for i in range(1, 11)]
one_to_ten = [li[str(i)] for i in range(1, 11)]
return str(ul[one_to_ten])


Expand Down

0 comments on commit b439335

Please sign in to comment.