Fix CLI precedence

This commit is contained in:
Mike A. Trethewey
2020-02-23 21:38:22 -08:00
parent 01e1e719db
commit 66c57e38b0
7 changed files with 189 additions and 177 deletions

View File

@@ -59,7 +59,8 @@ def start():
seed = random.randint(0, 999999999)
for fail in failures:
logger.info('%s seed failed with: %s', fail[1], fail[0])
logger.info('Generation fail rate: %f%%', 100*len(failures)/args.count)
logger.info('Generation fail rate: %f%%', 100 * len(failures) / args.count)
logger.info('Generation success rate: %f%%', 100 * (args.count - len(failures)) / args.count)
else:
main(seed=args.seed, args=args)