mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added fake 'charset_normalizer' for python 2 hosts
This commit is contained in:
parent
e2717ac963
commit
93caf11efd
1 changed files with 8 additions and 0 deletions
8
openpype/vendor/python/python_2/charset_normalizer.py
vendored
Normal file
8
openpype/vendor/python/python_2/charset_normalizer.py
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"""Fake 'charset_normalizer' for Python 2 to raise ImportError.
|
||||
|
||||
Needed for 'requests' module which first checks for existence of
|
||||
'charset_normalizer' (Python 3) but does not raise 'ImportError' but
|
||||
'SyntaxError'.
|
||||
"""
|
||||
|
||||
raise ImportError("charset_normalizer not available")
|
||||
Loading…
Add table
Add a link
Reference in a new issue