Skip to content

Commit dc7aaca

Browse files
authored
Update pyneofile.py
1 parent 1a625ad commit dc7aaca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyneofile/pyneofile.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)