From e9c5203f11190fa549170688bd87bd496c9f7e4e Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 19 Nov 2022 22:43:01 -0800 Subject: [PATCH] Fix use of mebibyte. --- etiquette/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/helpers.py b/etiquette/helpers.py index 4b441f7..fad26bf 100644 --- a/etiquette/helpers.py +++ b/etiquette/helpers.py @@ -362,7 +362,7 @@ def read_filebytes( filepath, range_min=0, range_max=None, - chunk_size=bytestring.MIBIBYTE, + chunk_size=bytestring.MEBIBYTE, ) -> typing.Iterable[bytes]: ''' Yield chunks of bytes from the file between the endpoints.