Fix INSERT statement

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-08 15:07:22 +01:00
parent cb3f9654da
commit aa399adebd

View file

@ -68,7 +68,7 @@ class dbObject:
self.commit()
def storeUser(self, cid, ato, ase):
self.executeQuery("INSERT INTO tokens VALUES(%i, '%s', '%s');" % (int(cid), ato, ase))
self.executeQuery("INSERT INTO tokens(cid, ato, ase) VALUES(%i, '%s', '%s');" % (int(cid), ato, ase))
self.commit()
def ato(self, cid):