Skip to content

Commit 2b28dcf

Browse files
committed
Bug fix in file_size suffixes: kB -> KB
1 parent cdb0a1d commit 2b28dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/human_readable/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def file_size(
3535
elif binary:
3636
suffixes = (" KiB", " MiB", " GiB", " TiB", " PiB", " EiB", " ZiB", " YiB")
3737
else:
38-
suffixes = (" kB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB")
38+
suffixes = (" KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB")
3939

4040
base = 1024 if (gnu or binary) else 1000
4141

0 commit comments

Comments
 (0)