Minor cosmetics

This commit is contained in:
Miroslav Stampar
2020-10-27 14:57:12 +01:00
parent 585645e806
commit f6bf331b8f
6 changed files with 6 additions and 6 deletions

View File

@@ -440,7 +440,7 @@ def unionUse(expression, unpack=True, dump=False):
duration = calculateDeltaSeconds(start)
if not kb.bruteMode:
debugMsg = "performed %d queries in %.2f seconds" % (kb.counters[PAYLOAD.TECHNIQUE.UNION], duration)
debugMsg = "performed %d quer%s in %.2f seconds" % (kb.counters[PAYLOAD.TECHNIQUE.UNION], 'y' if kb.counters[PAYLOAD.TECHNIQUE.UNION] == 1 else "ies", duration)
logger.debug(debugMsg)
return value