mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 03:54:47 +00:00
Fixes #2245
This commit is contained in:
parent
25c34c7728
commit
6f343080e8
3 changed files with 4 additions and 4 deletions
2
thirdparty/magic/magic.py
vendored
2
thirdparty/magic/magic.py
vendored
|
|
@ -199,7 +199,7 @@ try:
|
|||
magic_compile.restype = c_int
|
||||
magic_compile.argtypes = [magic_t, c_char_p]
|
||||
|
||||
except ImportError:
|
||||
except (ImportError, OSError):
|
||||
from_file = from_buffer = lambda *args, **kwargs: "unknown"
|
||||
|
||||
MAGIC_NONE = 0x000000 # No flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue