TarIo.TarIoTarFile._extract(): Fix typo
TarIoTarFile is currently unused but should still be correct, so fix a typo in _extract().
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
069899e48e
commit
66b968c51c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue