aboutsummaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-30 13:24:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-30 13:24:52 -0400
commitc70952118b9a453d998752a5fe6e5ace3d91ec99 (patch)
tree07b90cf738768951a03f67bfc8f48bca5b1d3de3 /Command/ImportFeed.hs
parent5ff33723613ce9f53b63df50274c6bd469c1e052 (diff)
honor --file when downloading with youtube-dl
This used to be done with quvi, and got broken in the transition.
Diffstat (limited to 'Command/ImportFeed.hs')
-rw-r--r--Command/ImportFeed.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs
index 57daa22f8..c860f637f 100644
--- a/Command/ImportFeed.hs
+++ b/Command/ImportFeed.hs
@@ -170,7 +170,7 @@ performDownload opts cache todownload = case location todownload of
urlinfo <- if relaxedOption opts
then pure Url.assumeUrlExists
else Url.withUrlOptions (Url.getUrlInfo url)
- maybeToList <$> addUrlFile (relaxedOption opts) url urlinfo f
+ maybeToList <$> addUrlFile Nothing (relaxedOption opts) url urlinfo f
else do
res <- tryNonAsync $ maybe
(error $ "unable to checkUrl of " ++ Remote.name r)