mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +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):
|
||||
"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.execute("""CREATE TABLE users (
|
||||
id INTEGER PRIMARY KEY,
|
||||
|
Loading…
Reference in New Issue
Block a user