diff --git a/src/python/jw/pkg/lib/TarIo.py b/src/python/jw/pkg/lib/TarIo.py index 00ba902e..64968c4e 100644 --- a/src/python/jw/pkg/lib/TarIo.py +++ b/src/python/jw/pkg/lib/TarIo.py @@ -80,7 +80,7 @@ class TarIo(CopyContext): class TarIoTarFile(TarIo): async def _extract(self, blob: bytes, root: str|None=None) -> None: - tf = TarFile(fileobj=io.BytesIO(bytes)) + tf = TarFile(fileobj=io.BytesIO(blob)) for info in tf.getmembers(): log(DEBUG, f'Extracting {info.name}') path = root + '/' + info.name if root else info.name