my code is the following:
#array_set - gives the desired ID (taken from tk.treeview) - works like a clock
self.c.execute("""DELETE FROM table WHERE id = ?; """,array_set)
The problem is that deleted only if if ID < 10. tobish if the ID for example will be double-digit, it generates a trace. error :
self.c.execute("""DELETE FROM stabilometr WHERE id = ?; """,array_set)
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 2 supplied.
what is a joint? how to fix ?