mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor bug fix
This commit is contained in:
parent
f7feebe0df
commit
5e768be509
|
@ -274,7 +274,7 @@ class Backend:
|
|||
def setVersionList(versionsList):
|
||||
if isinstance(versionsList, list):
|
||||
kb.dbmsVersion = versionsList
|
||||
elif isinstance(version, basestring):
|
||||
elif isinstance(versionsList, basestring):
|
||||
Backend.setVersion(versionsList)
|
||||
else:
|
||||
logger.error("invalid format of versionsList")
|
||||
|
|
Loading…
Reference in New Issue
Block a user