fixed some oopsie math error uwu
sophuwu sophie@skisiel.com
Tue, 07 Jan 2025 02:48:24 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bytesize.go
→
bytesize.go
@@ -65,7 +65,7 @@ return 0, err
} s = strings.ToLower(s) if strings.HasSuffix(s, "bit") { - s = strings.TrimPrefix(s, "bit") + s = strings.TrimSuffix(s, "bit") } else { num *= 8 }