mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-23 16:09:03 +00:00
Fixes #2576
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user