diff options
author | sepro <sepro@sepr0.com> | 2024-11-10 00:53:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-10 00:53:49 +0100 |
commit | b83ca24eb72e1e558b0185bd73975586c0bc0546 (patch) | |
tree | 3d029d44b2f3d1205d6b82c3884ac9c0dc798d33 | |
parent | 240a7d43c8a67ffb86d44dc276805aa43c358dcc (diff) |
[core] Catch broken Cryptodome installations (#11486)
Authored by: seproDev
-rw-r--r-- | yt_dlp/dependencies/Cryptodome.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/dependencies/Cryptodome.py b/yt_dlp/dependencies/Cryptodome.py index 2cfa4c952..0e4404d49 100644 --- a/yt_dlp/dependencies/Cryptodome.py +++ b/yt_dlp/dependencies/Cryptodome.py @@ -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() |