Jun-25-2022, 07:30 AM
You shouldn't be using f-strings to use variables in your queries (line 13 above). Instead, you should be using the driver's placeholders - see https://docs.python.org/3/library/sqlite3.html, specifically from "Instead, use the DB-API’s parameter substitution".