Skip to content

Commit

Permalink
Fix typo in archiveinfo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
piggynl committed Sep 16, 2023
1 parent a157a9c commit 1fd4553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py7zr/archiveinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ def _read(self, fp: BinaryIO, buffer: BytesIO, start_pos: int, password) -> None
self._extract_header_info(buffer)
return
if pid != PROPERTY.ENCODED_HEADER:
raise TypeError("Unknown field: %r" % id) # pragma: no-cover
raise TypeError("Unknown field: %r" % pid) # pragma: no-cover
# get from encoded header
streams = HeaderStreamsInfo.retrieve(buffer)
buffer2 = io.BytesIO()
Expand Down

0 comments on commit 1fd4553

Please sign in to comment.