mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Trying converters out.
This commit is contained in:
parent
a4ff3abea7
commit
5f5ef91a11
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user