|
|
@ -22,8 +22,8 @@ import config |
|
|
|
from gevent import monkey |
|
|
|
from gevent import monkey |
|
|
|
monkey.patch_all() |
|
|
|
monkey.patch_all() |
|
|
|
|
|
|
|
|
|
|
|
from requests.packages.urllib3.util.ssl_ import create_urllib3_context |
|
|
|
# from requests.packages.urllib3.util.ssl_ import create_urllib3_context |
|
|
|
create_urllib3_context() |
|
|
|
# create_urllib3_context() |
|
|
|
|
|
|
|
|
|
|
|
if sys.version_info < (3, 6): |
|
|
|
if sys.version_info < (3, 6): |
|
|
|
raise RuntimeError('This application must be run under Python 3.6 or later.') |
|
|
|
raise RuntimeError('This application must be run under Python 3.6 or later.') |
|
|
|