mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #2471
This commit is contained in:
parent
c74756c3bc
commit
9b3d229294
16 changed files with 90 additions and 90 deletions
|
|
@ -282,7 +282,7 @@ class LogRecorder(logging.StreamHandler):
|
|||
|
||||
|
||||
def setRestAPILog():
|
||||
if hasattr(conf, "api"):
|
||||
if conf.api:
|
||||
try:
|
||||
conf.databaseCursor = Database(conf.database)
|
||||
conf.databaseCursor.connect("client")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue