From b5a7c9a7ad5392dd39479fb443b57f5100e8962a Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 16 Apr 2020 22:41:53 -0700 Subject: [PATCH] fix non-numpy read_bool_byte --- fatamorgana/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatamorgana/basic.py b/fatamorgana/basic.py index 4db5ba0..eb4d706 100644 --- a/fatamorgana/basic.py +++ b/fatamorgana/basic.py @@ -147,7 +147,7 @@ else: :param stream: Stream to read from. :return: A list of 8 booleans corresponding to the bits (MSB first). """ - byte = _read(1)[0] + byte = _read(stream, 1)[0] bits = [(byte >> i) & 0x01 for i in reversed(range(8))] return bits