mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-03 19:33:18 +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()
|
self.checkFileDb()
|
||||||
|
|
||||||
try:
|
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:
|
except sqlite3.OperationalError, msg:
|
||||||
raise sqlmapConnectionException, msg[0]
|
raise sqlmapConnectionException, msg[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user