Closed domhnallmorr closed 2 years ago
The following text generates an error;
Hi Therese, I'm looking for an OP number for a proposal I'm working on
self.cursor.execute(f"UPDATE diary SET text = '{txt}' WHERE datestamp = '{date}'") sqlite3.OperationalError: near "m": syntax error
Possibly due to the , and ' at the beginning of the sentance.
Possible solution here https://stackoverflow.com/questions/7714321/with-python-sqlite3-module-how-to-deal-with-fields-that-contain-double-quotes
Resolved V0.33.2
The following text generates an error;
Hi Therese, I'm looking for an OP number for a proposal I'm working on
self.cursor.execute(f"UPDATE diary SET text = '{txt}' WHERE datestamp = '{date}'") sqlite3.OperationalError: near "m": syntax error
Possibly due to the , and ' at the beginning of the sentance.