Minor bug fix for --start, now all techniques return the same result (before blind techniques returned from one entry behind)

This commit is contained in:
Bernardo Damele 2011-07-25 11:15:18 +00:00
parent 6cbb927012
commit 0a7a648694

View File

@ -1323,8 +1323,10 @@ def getRange(count, dump=False, plusOne=False):
if plusOne:
indexRange = range(limitStart, limitStop + 1)
else:
elif not dump:
indexRange = range(limitStart - 1, limitStop)
else:
indexRange = range(limitStart, limitStop)
return indexRange
@ -2464,7 +2466,6 @@ def setOptimize():
debugMsg = "turning off --null-connection switch used indirectly by switch -o"
logger.debug(debugMsg)
def initTechnique(technique=None):
"""
Prepares proper page template and match ratio for technique specified