This commit is contained in:
Flowseal committed 2026-04-18 16:58:49 +03:00
1 parent 059ca8760f
commit a70e50b9f3
5 files changed
+168 -160

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ def human_bytes(n: int) -> str:
for unit in ('B', 'KB', 'MB', 'GB'):
if abs(n) < 1024:
return f"{n:.1f}{unit}"
n /= 1024
n /= 1024 # type: ignore
return f"{n:.1f}TB"