mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
fix for that sqlite thread nagging with undocumented argument check_same_thread
This commit is contained in:
parent
6e7be5edb0
commit
5556db80db
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user