mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
fix for that sqlite thread nagging with undocumented argument check_same_thread
This commit is contained in:
@@ -52,7 +52,7 @@ class Connector(GenericConnector):
|
||||
self.checkFileDb()
|
||||
|
||||
try:
|
||||
self.connector = sqlite3.connect(database=self.db, timeout=conf.timeout)
|
||||
self.connector = sqlite3.connect(database=self.db, check_same_thread=False, timeout=conf.timeout)
|
||||
except sqlite3.OperationalError, msg:
|
||||
raise sqlmapConnectionException, msg[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user