mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-20 18:54:02 +00:00
Minor refactoring
This commit is contained in:
parent
3f4186ce2c
commit
805120ac52
4 changed files with 5 additions and 5 deletions
|
|
@ -123,7 +123,7 @@ def tableExists(tableFile, regex=None):
|
|||
logger.warn(warnMsg)
|
||||
else:
|
||||
for item in threadData.shared.outputs:
|
||||
if not kb.data.cachedTables.has_key(conf.db):
|
||||
if conf.db not in kb.data.cachedTables:
|
||||
kb.data.cachedTables[conf.db] = [item]
|
||||
else:
|
||||
kb.data.cachedTables[conf.db].append(item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue