handle db timeouts in the queue creation

This commit is contained in:
Jude Nelson
2018-02-08 19:15:55 -05:00
parent 8ce40b5462
commit ec0d37cb20

View File

@@ -56,7 +56,7 @@ def queuedb_create(path):
con = sqlite3.connect( path, isolation_level=None )
for line in lines:
con.execute(line)
db_query_execute(con, line, ())
con.commit()
con.row_factory = queuedb_row_factory