mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48:52 -06:00
fix: print byte counts with size_text
This commit is contained in:
1 parent
49a8ed801e
commit
4f6bb08e2a
5 files changed
+16
-5
No files matched your search
@@ -218,7 +218,7 @@ def render_notes(
|
||||
out += ["| File | Description | Size | SHA1 |", "|------|-------------|-----:|------|"]
|
||||
out += [line for _, line in sorted(rows[section])]
|
||||
total = sum(assets.values())
|
||||
out += ["", f"{len(assets)} files, {total / 1073741824:.1f} GB total. Verify a download with `sha1sum <file>`.", ""]
|
||||
out += ["", f"{len(assets)} files, {size_text(total)} total. Verify a download with `sha1sum <file>`.", ""]
|
||||
return "\n".join(out)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user