Skip to content

Commit

Permalink
[core] Catch broken Cryptodome installations (yt-dlp#11486)
Browse files Browse the repository at this point in the history
Authored by: seproDev
  • Loading branch information
seproDev authored Nov 9, 2024
1 parent 240a7d4 commit b83ca24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/dependencies/Cryptodome.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
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()


Expand Down

0 comments on commit b83ca24

Please sign in to comment.