Skip to content

Commit

Permalink
Update magic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abakum committed Mar 4, 2019
1 parent bc5ea95 commit cc54ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magic.py
Expand Up @@ -161,7 +161,7 @@ def from_buffer(buffer, mime=False):
dll = ctypes.util.find_library('magic') \
or ctypes.util.find_library('magic1') \
or ctypes.util.find_library('cygmagic-1') \
or ctypes.util.find_library('libmagic-1') \ #for git clone https://github.com/threatstack/libmagic.git
or ctypes.util.find_library('libmagic-1') \
or ctypes.util.find_library('msys-magic-1') #for MSYS2

# necessary because find_library returns None if it doesn't find the library
Expand Down

0 comments on commit cc54ddc

Please sign in to comment.