Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-a-uchida committed Apr 7, 2018
1 parent eb192c6 commit ad3876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lap/create_lap_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def reporthook(count, block_size, total_size):
speed = int(current_size / (1024 * duration + 1))
percent = min(int(count * block_size * 100 / total_size), 100)
remaining_time = int(duration * (remaining_size / current_size))
sys.stdout.write("\r...{}%, {:0.1}/{:0.1} MB, {} KB/s, passed: {}s, remaining: {}s".format(
sys.stdout.write("\r{}%, {:6.2f}/{:6.2f}MB, {}KB/s, passed: {}s, remaining: {}s".format(
percent, current_size / (1024 * 1024), total_size / (1024 * 1024), speed, duration, remaining_time))
sys.stdout.flush()

Expand Down

0 comments on commit ad3876b

Please sign in to comment.