summaryrefslogtreecommitdiff
path: root/magic
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2021-02-16 20:01:28 -0800
committerAdam Hupp <adam@hupp.org>2021-02-16 20:01:28 -0800
commite0ccc6d0cbf7b17e8c7288297c717f3b3d499679 (patch)
treeb7a6036a25ffd07a2df04e7dff369378a6d25c32 /magic
parentfc28c87e010eed27fce37615202280feebaa1fc0 (diff)
downloadpython-magic-0.4.22.tar.gz
Fix yet another import error0.4.22
Seems to hit windows, probably OSX. We have great test coverage across linux distros, not so much elsewhere. Tested on my windows box by manually installing the wheel file.
Diffstat (limited to 'magic')
-rw-r--r--magic/loader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/magic/loader.py b/magic/loader.py
index 6a47d52..6b2bfcb 100644
--- a/magic/loader.py
+++ b/magic/loader.py
@@ -1,5 +1,6 @@
import ctypes
import sys
+import glob
def load_lib():
libmagic = None