mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 18:39:29 +00:00
[core] Catch broken Cryptodome installations (#11486)
Authored by: seproDev
This commit is contained in:
parent
240a7d43c8
commit
b83ca24eb7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ try:
|
|||
from Crypto.Cipher import AES, PKCS1_OAEP, Blowfish, PKCS1_v1_5 # noqa: F401
|
||||
from Crypto.Hash import CMAC, SHA1 # noqa: F401
|
||||
from Crypto.PublicKey import RSA # noqa: F401
|
||||
except ImportError:
|
||||
except (ImportError, OSError):
|
||||
__version__ = f'broken {__version__}'.strip()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue