diff options
-rw-r--r-- | requests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/__init__.py b/requests/__init__.py index 043eb27f..796e6aab 100644 --- a/requests/__init__.py +++ b/requests/__init__.py @@ -82,7 +82,7 @@ except (AssertionError, ValueError): # Attempt to enable urllib3's SNI support, if possible try: - if not 'REQUESTS_DONT_USE_PYOPENSSL' in os.environ: + if 'REQUESTS_DONT_USE_PYOPENSSL' not in os.environ: from urllib3.contrib import pyopenssl pyopenssl.inject_into_urllib3() except ImportError: |