From 9d1f601ee98e7b868251087ec0d884b4d530ffb8 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 21 Jul 2018 13:30:59 -0700 Subject: [PATCH] Fix read_float* functions --- fatamorgana/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fatamorgana/basic.py b/fatamorgana/basic.py index 576883c..24aaf06 100644 --- a/fatamorgana/basic.py +++ b/fatamorgana/basic.py @@ -333,7 +333,7 @@ def read_float32(stream: io.BufferedIOBase) -> float: :return: The value read. """ b = _read(stream, 4) - return struct.unpack(" int: @@ -356,7 +356,7 @@ def read_float64(stream: io.BufferedIOBase) -> float: :return: The value read. """ b = _read(stream, 8) - return struct.unpack(" int: