summaryrefslogtreecommitdiff
path: root/progress.py
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2021-12-18 04:03:34 -0700
committerGitHub <noreply@github.com>2021-12-18 04:03:34 -0700
commit98369fc5260f9bc7969f9ec8f0c5a044836178f6 (patch)
tree46f7f7d7d9ce59d2d3fa250b2a7e132bd971849f /progress.py
parent9b0646fde05e370e22337c6485bb678d6bf326fb (diff)
Fix maths (#104)
* Fix maths * Update README.md * Update Jenkinsfile
Diffstat (limited to 'progress.py')
-rw-r--r--progress.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/progress.py b/progress.py
index 11df12143..cdc88a6a7 100644
--- a/progress.py
+++ b/progress.py
@@ -280,7 +280,7 @@ if args.format == 'shield-json':
"color": 'yellow',
}))
elif args.format == 'totalBadge':
- print(str(round(((mk64Code_size - text_size) * mk64Code_size) * 100, 2))+"%")
+ print(str(round(((mk64Code_size - text_size) / mk64Code_size) * 100, 2))+"%")
elif args.format == 'gameBadge':
print(str(round(srcPct, 2))+"%")
elif args.format == 'audioBadge':