summaryrefslogtreecommitdiff
path: root/Logs/Web.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Logs/Web.hs')
-rw-r--r--Logs/Web.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Logs/Web.hs b/Logs/Web.hs
index b2935f1a0..ed2f575bd 100644
--- a/Logs/Web.hs
+++ b/Logs/Web.hs
@@ -50,7 +50,9 @@ getUrls key = do
else return us
getUrlsWithPrefix :: Key -> String -> Annex [URLString]
-getUrlsWithPrefix key prefix = filter (prefix `isPrefixOf`) <$> getUrls key
+getUrlsWithPrefix key prefix = filter (prefix `isPrefixOf`)
+ . map (fst . getDownloader)
+ <$> getUrls key
setUrlPresent :: UUID -> Key -> URLString -> Annex ()
setUrlPresent uuid key url = do