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)