summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-16 15:26:25 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-16 15:26:25 -0400
commit4556a7ce6c079f27f8f02b945829ad8d41dc5881 (patch)
treebeb1e242c6192250ba521c7cd18acf708a7cd9cc
parentf3962d32f3b88ddb66ea564dbf0c3189047410b7 (diff)
use right uuid when not downloading from web remote
-rw-r--r--Command/AddUrl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index f3b4cf130..8688c8a57 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -267,7 +267,7 @@ downloadWith downloader dummykey u url file =
)
where
runtransfer tmp = Transfer.notifyTransfer Transfer.Download (Just file) $
- Transfer.download webUUID dummykey (Just file) Transfer.forwardRetry $ \p -> do
+ Transfer.download u dummykey (Just file) Transfer.forwardRetry $ \p -> do
liftIO $ createDirectoryIfMissing True (parentDir tmp)
downloader tmp p