mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fixes #2576
This commit is contained in:
parent
b4980778dd
commit
e2d3187a78
3 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ class Database(object):
|
|||
self.cursor = None
|
||||
|
||||
def connect(self, who="server"):
|
||||
self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None)
|
||||
self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None, check_same_thread=False)
|
||||
self.cursor = self.connection.cursor()
|
||||
logger.debug("REST-JSON API %s connected to IPC database" % who)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue