Skip to content

Commit

Permalink
fix AttributeError in ArchiveEntry.format_name
Browse files Browse the repository at this point in the history
closes #126
  • Loading branch information
Changaco committed Mar 3, 2024
1 parent ed0e591 commit 16f1534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libarchive/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def rdevminor(self, value):

@property
def format_name(self):
return ffi.format_name(self._pointer)
return ffi.format_name(self._entry_p)


class ConsumedArchiveEntry(ArchiveEntry):
Expand Down

0 comments on commit 16f1534

Please sign in to comment.