From 6e1ea1453d050bc06864b59de93a62ebfb58e102 Mon Sep 17 00:00:00 2001 From: Sean Morgan Date: Thu, 28 Mar 2024 11:06:51 -0700 Subject: [PATCH] Read model stream from start --- modelscan/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelscan/model.py b/modelscan/model.py index 43dd611..11e6463 100644 --- a/modelscan/model.py +++ b/modelscan/model.py @@ -51,4 +51,4 @@ def get_stream(self) -> IO[bytes]: if not self._stream: raise ModelDataEmpty("Model data is empty.") - return self._stream + return self._stream.seek(0)