minor patch

This commit is contained in:
Miroslav Stampar 2012-02-01 12:28:06 +00:00
parent 2ee198a381
commit df43157284

View File

@ -251,7 +251,7 @@ def unionUse(expression, unpack=True, dump=False):
infoMsg += "%d entries" % stopLimit
logger.info(infoMsg)
elif not isinstance(count, basestring) or count and not count.isdigit():
elif count and (not isinstance(count, basestring) or not count.isdigit()):
warnMsg = "it was not possible to count the number "
warnMsg += "of entries for the SQL query provided. "
warnMsg += "sqlmap will assume that it returns only "