mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
parent
e5a998f368
commit
b07897ef5b
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ from .socks import ProxyType, sockssocket
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import certifi
|
import certifi
|
||||||
has_certifi = True
|
# The certificate may not be bundled in executable
|
||||||
|
has_certifi = os.path.exists(certifi.where())
|
||||||
except ImportError:
|
except ImportError:
|
||||||
has_certifi = False
|
has_certifi = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue