Compare commits
1 Commits
134af55c47
...
2397ded4b5
Author | SHA1 | Date | |
---|---|---|---|
2397ded4b5 |
4
db.py
4
db.py
|
@ -20,7 +20,9 @@ class FulviaDB:
|
||||||
|
|
||||||
def connect(self):
|
def connect(self):
|
||||||
"""Return a raw database connection object."""
|
"""Return a raw database connection object."""
|
||||||
return sqlite3.connect(self.filename, timeout=10)
|
return sqlite3.connect(self.filename,
|
||||||
|
timeout=10,
|
||||||
|
detect_types=sqlite3.PARSE_DECLTYPES)
|
||||||
|
|
||||||
def execute(self, *args, **kwargs):
|
def execute(self, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user