avoid warning when youtube-dl is not installed
If a user does not have it installed, don't warn on every imported item about it.
This commit is contained in:
parent
a7b4358c05
commit
8a0038ec23
3 changed files with 13 additions and 15 deletions
|
@ -106,7 +106,7 @@ checkKey' key us = firsthit us (Right False) $ \u -> do
|
|||
let (u', downloader) = getDownloader u
|
||||
showChecking u'
|
||||
case downloader of
|
||||
YoutubeDownloader -> youtubeDlSupported u'
|
||||
YoutubeDownloader -> youtubeDlCheck u'
|
||||
_ -> do
|
||||
Url.withUrlOptions $ catchMsgIO .
|
||||
Url.checkBoth u' (keySize key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue