summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-30 13:39:20 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-30 13:43:55 -0400
commit51ab2efc693983dcca6d79b531339b00e23fa871 (patch)
treefbd89e612e010b4dd47fa79a89b119c081aa7fb4 /Remote
parentc70952118b9a453d998752a5fe6e5ace3d91ec99 (diff)
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.
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Web.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Web.hs b/Remote/Web.hs
index 5ad66cb15..5aa1edd3e 100644
--- a/Remote/Web.hs
+++ b/Remote/Web.hs
@@ -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)