We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90099d commit de1810bCopy full SHA for de1810b
certifi/core.py
@@ -19,7 +19,7 @@ class DeprecatedBundleWarning(DeprecationWarning):
19
20
21
def where():
22
- f = os.path.split(__file__)[0]
+ f = os.path.dirname(__file__)
23
24
return os.path.join(f, 'cacert.pem')
25
@@ -29,7 +29,7 @@ def old_where():
29
"The weak security bundle is being deprecated.",
30
DeprecatedBundleWarning
31
)
32
33
return os.path.join(f, 'weak.pem')
34
35
if __name__ == '__main__':
0 commit comments