mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-05 08:13:46 +03:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
204ee1db39
5
thirdparty/magic/magic.py
vendored
5
thirdparty/magic/magic.py
vendored
|
@ -111,7 +111,10 @@ try:
|
||||||
|
|
||||||
# This is necessary because find_library returns None if it doesn't find the library
|
# This is necessary because find_library returns None if it doesn't find the library
|
||||||
if dll:
|
if dll:
|
||||||
libmagic = ctypes.CDLL(dll)
|
try:
|
||||||
|
libmagic = ctypes.CDLL(dll)
|
||||||
|
except WindowsError:
|
||||||
|
pass
|
||||||
|
|
||||||
if not libmagic or not libmagic._name:
|
if not libmagic or not libmagic._name:
|
||||||
import sys
|
import sys
|
||||||
|
|
Loading…
Reference in New Issue
Block a user