mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +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:
|
||||
import certifi
|
||||
has_certifi = True
|
||||
# The certificate may not be bundled in executable
|
||||
has_certifi = os.path.exists(certifi.where())
|
||||
except ImportError:
|
||||
has_certifi = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue