Skip to content

Commit 5fd286a

Browse files
authored
Update pyfoxfile.py
1 parent 20b1468 commit 5fd286a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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