psycopg2 not all arguments converted during string formatting
https://stackoverflow.com/questions/21524482/psycopg2-typeerror-not-all-arguments-converted-during-string-formatting
This commit is contained in:
parent
520e153180
commit
5167b3a5f3
@ -223,7 +223,7 @@ class DBModel:
|
|||||||
return vm
|
return vm
|
||||||
|
|
||||||
def clear_shortterm_flag(self, email):
|
def clear_shortterm_flag(self, email):
|
||||||
self.cursor.execute("UPDATE vms SET shortterm = FALSE WHERE email = %s", (email))
|
self.cursor.execute("UPDATE vms SET shortterm = FALSE WHERE email = %s", (email,))
|
||||||
self.connection.commit()
|
self.connection.commit()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user