desktop/python-requests/certs.patch

14 lines
457 B
Diff
Raw Normal View History

2014-09-07 02:06:09 +08:00
diff --git a/requests/certs.py b/requests/certs.py
index 07e6475..33db011 100644
--- a/requests/certs.py
+++ b/requests/certs.py
@@ -19,7 +19,7 @@ except ImportError:
def where():
"""Return the preferred certificate bundle."""
# vendored bundle inside Requests
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
+ return "/etc/ssl/certs/ca-certificates.crt"
2014-09-07 02:06:09 +08:00
if __name__ == '__main__':
print(where())