aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ivi.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/ivi.py')
-rw-r--r--yt_dlp/extractor/ivi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/ivi.py b/yt_dlp/extractor/ivi.py
index fa5ceec95..e7ba5f339 100644
--- a/yt_dlp/extractor/ivi.py
+++ b/yt_dlp/extractor/ivi.py
@@ -126,8 +126,8 @@ class IviIE(InfoExtractor):
extractor_msg = 'Video %s does not exist'
elif site == 353:
continue
- elif not Cryptodome.CMAC:
- raise ExtractorError('pycryptodomex not found. Please install', expected=True)
+ elif not pycryptodome_found:
+ raise ExtractorError('pycryptodome not found. Please install', expected=True)
elif message:
extractor_msg += ': ' + message
raise ExtractorError(extractor_msg % video_id, expected=True)