use newline for each log result for readability

This commit is contained in:
Janne Sinivirta 2017-12-22 16:56:59 +02:00
parent a063680d32
commit 5309ea3820

View File

@ -104,7 +104,7 @@ def log_results(results):
profit = results['total_profit']
if profit >= TOTAL_PROFIT_TO_BEAT:
logger.info('{:5d}/{}: {}'.format(current_try, total_tries, result))
logger.info('\n{:5d}/{}: {}'.format(current_try, total_tries, result))
else:
print('.', end='')
sys.stdout.flush()