Files
main/programming/language/python3/python3-requests/files/certs.patch
T
2025-04-18 22:38:16 +03:00

15 lines
484 B
Diff

diff --git a/src/requests/certs.py b/src/requests/certs.py
index d1a378d7..4e0bffd4 100644
--- a/src/requests/certs.py
+++ b/src/requests/certs.py
@@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ return "/etc/ssl/certs/ca-certificates.crt"
if __name__ == '__main__':
print(where())