diff --git a/core/ratarmountcore/SQLiteIndexedTar.py b/core/ratarmountcore/SQLiteIndexedTar.py index 99bcdc24..dfa34c0f 100644 --- a/core/ratarmountcore/SQLiteIndexedTar.py +++ b/core/ratarmountcore/SQLiteIndexedTar.py @@ -1299,7 +1299,7 @@ def _checkMetadata2(self, metadata: Dict[str, Any]) -> None: oldOffset = self.tarFileObject.tell() try: with StenciledFile(fileStencils=[fileStencil]) as file: - if file.read() != b"\0" * 1024: + if file.read(1025) != b"\0" * 1024: if self.printDebug >= 2: print( "[Info] Probably has been appended to because no EOF zero-byte blocks could "