diff --git a/dbtools/__init__.py b/dbtools/__init__.py index 4e6f3ad..182be5b 100644 --- a/dbtools/__init__.py +++ b/dbtools/__init__.py @@ -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):