Skip to content

Commit e2cab63

Browse files
authored
Update pycatfile.py
1 parent b46444f commit e2cab63

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

pycatfile/pycatfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@
8989
# LibArchive / BSDTar Support
9090
libarchive_support = False
9191
try:
92-
import libarchive
92+
try:
93+
import libarchive.public as libarchive
94+
except ImportError:
95+
import libarchive
9396
libarchive_support = True
9497
except (ImportError, OSError):
9598
pass

0 commit comments

Comments
 (0)