mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-26 09:29:02 +00:00
Minor refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user