aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-12-04 09:16:35 +0800
committerGravatar ionite34 <[email protected]>2022-12-04 09:16:35 +0800
commit4abc988c6e5b9ede6cffe372d3252d9863c8eef0 (patch)
treeb10a13cd873b75b1c9fb6abb21b570e41901fa5f
parentFormat readme newlines (diff)
Correct Size(IntEnum) naming
-rw-r--r--snekbox/filesystem.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/snekbox/filesystem.py b/snekbox/filesystem.py
index 9f0634a..312707c 100644
--- a/snekbox/filesystem.py
+++ b/snekbox/filesystem.py
@@ -23,10 +23,10 @@ libc.umount2.argtypes = (ctypes.c_char_p, ctypes.c_int)
class Size(IntEnum):
"""Size multipliers for bytes."""
- KB = 1024
- MB = 1024**2
- GB = 1024**3
- TB = 1024**4
+ KiB = 1024
+ MiB = 1024**2
+ GiB = 1024**3
+ TiB = 1024**4
class UnmountFlags(IntEnum):