Fixed minor bug with --eta

This commit is contained in:
Bernardo Damele 2009-06-24 13:44:14 +00:00
parent e5a01d500e
commit 3b9303186e

View File

@ -73,7 +73,7 @@ def bisection(payload, expression, length=None, charsetType=None):
if length == 0:
return 0, ""
showEta = conf.eta and length
showEta = conf.eta and isinstance(length, int)
numThreads = min(conf.threads, length)
threads = []