From f68ac1d1936b1271854480dad02e623688d3e866 Mon Sep 17 00:00:00 2001 From: Roman971 <32455037+Roman971@users.noreply.github.com> Date: Sun, 28 Nov 2021 12:06:27 +0100 Subject: [PATCH] Fix the rupee count in progress.py (#1034) * Fix the rupee count in progress.py * Use python integer division Co-authored-by: Anghelo Carvajal Co-authored-by: Anghelo Carvajal --- progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress.py b/progress.py index 6bddaedbf7..d7fc14e7fb 100755 --- a/progress.py +++ b/progress.py @@ -104,7 +104,7 @@ codePct = 100 * code / codeSize bootPct = 100 * boot / bootSize ovlPct = 100 * ovl / ovlSize -bytesPerHeartPiece = total / 80 +bytesPerHeartPiece = total // 80 if args.format == 'csv': version = 1