Module: remove connection timeout setting from db connect
This commit is contained in:
parent
ac14c2a8e8
commit
5c2c3882f3
@ -174,7 +174,7 @@ class Module(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
dbfile = self.config.get('dr.botzo', 'database')
|
dbfile = self.config.get('dr.botzo', 'database')
|
||||||
conn = sqlite3.connect(dbfile, 60)
|
conn = sqlite3.connect(dbfile)
|
||||||
conn.row_factory = sqlite3.Row
|
conn.row_factory = sqlite3.Row
|
||||||
|
|
||||||
# setup regexp function in sqlite
|
# setup regexp function in sqlite
|
||||||
|
Loading…
Reference in New Issue
Block a user