mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Fix stupid, stupid logic error.
This commit is contained in:
@@ -75,7 +75,7 @@ class HTTPAdapter(BaseAdapter):
|
||||
conn.ca_certs = None
|
||||
|
||||
if cert:
|
||||
if isinstance(cert, basestring):
|
||||
if not isinstance(cert, basestring):
|
||||
conn.cert_file = cert[0]
|
||||
conn.key_file = cert[1]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user