From ec0d37cb201f654632015015ca563d6832b4e24f Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Thu, 8 Feb 2018 19:15:55 -0500 Subject: [PATCH] handle db timeouts in the queue creation --- blockstack/lib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockstack/lib/queue.py b/blockstack/lib/queue.py index d1ae1007b..0dbefbe9e 100644 --- a/blockstack/lib/queue.py +++ b/blockstack/lib/queue.py @@ -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