change default to False of 'do_truncate' (#673)

This commit is contained in:
XianBW
2025-03-12 20:21:34 +08:00
committed by GitHub
parent 6763580f1c
commit 866700415a
+1 -1
View File
@@ -162,7 +162,7 @@ class LoopBase:
@classmethod
def load(
cls, path: Union[str, Path], output_path: Optional[Union[str, Path]] = None, do_truncate: bool = True
cls, path: Union[str, Path], output_path: Optional[Union[str, Path]] = None, do_truncate: bool = False
) -> "LoopBase":
path = Path(path)
with path.open("rb") as f: