fix verify bug

Fixes #1019
This commit is contained in:
Kenneth Reitz
2012-12-17 13:38:38 -05:00
parent 9bb332fee1
commit 910b2312d6
+1 -1
View File
@@ -62,7 +62,7 @@ class HTTPAdapter(BaseAdapter):
# Allow self-specified cert location.
if verify is not True:
cert_loc = self.verify
cert_loc = verify
# Look for configuration.
if not cert_loc and self.config.get('trust_env'):