Answer the question
In order to leave comments, you need to log in
Strange sqlite3 error, what to do?
Here's the error:
sql.execute(f"UPDATE _bot_ SET InfoTime = {0} WHERE teleid = {heid} ")
sqlite3.OperationalError: unrecognized token: "{"
What's wrong with "{" ?
Answer the question
In order to leave comments, you need to log in
Try this sql.execute(f"UPDATE _bot_ SET InfoTime = '{0}' WHERE teleid = '{heid}' ")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question