Noob question: Update variable in database

Solved.

You had a comma after this line, making a tuple expression accidently:

only_row = app_tables.test_instance_counter.get(row="only"),
only_row["count"] += 1

Remove the trailing comma on the first of those lines and problem solved.

2 Likes