Compare commits
1 Commits
2397ded4b5
...
134af55c47
Author | SHA1 | Date | |
---|---|---|---|
134af55c47 |
4
db.py
4
db.py
|
@ -20,9 +20,7 @@ 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,
|
return sqlite3.connect(self.filename, timeout=10)
|
||||||
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