Trying converters out.

This commit is contained in:
Jeremy Fincher 2003-03-28 06:11:54 +00:00
parent a4ff3abea7
commit 5f5ef91a11

View File

@ -56,7 +56,7 @@ class Notes(callbacks.Privmsg):
def makeDB(self): def makeDB(self):
"create Notes database and tables" "create Notes database and tables"
self.db = sqlite.connect(self.filename) self.db = sqlite.connect(self.filename, converters={'bool': bool})
self.cursor = self.db.cursor() self.cursor = self.db.cursor()
self.cursor.execute("""CREATE TABLE users ( self.cursor.execute("""CREATE TABLE users (
id INTEGER PRIMARY KEY, id INTEGER PRIMARY KEY,