Skip to content

Commit 6c98ad6

Browse files
committed
fix AttributeError in ArchiveEntry.format_name
closes #126
1 parent ed0e591 commit 6c98ad6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libarchive/entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def rdevminor(self, value):
435435

436436
@property
437437
def format_name(self):
438-
return ffi.format_name(self._pointer)
438+
return ffi.format_name(self._archive_p)
439439

440440

441441
class ConsumedArchiveEntry(ArchiveEntry):

0 commit comments

Comments
 (0)