Trivial update (for consistency sake)

This commit is contained in:
Miroslav Stampar 2014-04-06 13:42:15 +02:00
parent 492a410bcc
commit 1b3a98b8ef

View File

@ -511,7 +511,7 @@ def _setCrawler():
crawl(target) crawl(target)
if conf.verbose in (1, 2): if conf.verbose in (1, 2):
status = '%d/%d links visited (%d%%)' % (i + 1, len(targets), round(100.0 * (i + 1) / len(targets))) status = "%d/%d links visited (%d%%)" % (i + 1, len(targets), round(100.0 * (i + 1) / len(targets)))
dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True) dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True)
except Exception, ex: except Exception, ex:
errMsg = "problem occurred while crawling at '%s' ('%s')" % (target, ex) errMsg = "problem occurred while crawling at '%s' ('%s')" % (target, ex)