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:
Joey Hess 2017-11-30 13:39:20 -04:00
parent a7b4358c05
commit 8a0038ec23
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 13 additions and 15 deletions

View file

@ -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)