Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The usage of the python-magic -> libmagic API comatibility [1] raises a deprecation warning. This patch uses the python-magic default API when it's available and in other case it uses the libmagic default API. Fix #1083 [1] https://github.com/ahupp/python-magic/blob/master/COMPAT.md
- Loading branch information