fix build

This commit is contained in:
Joey Hess 2017-12-31 15:06:33 -04:00
parent fcdd9ce788
commit 0b0d8ad54b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -273,7 +273,7 @@ downloadWeb o url urlinfo file =
liftIO $ createDirectoryIfMissing True (parentDir file)
finishDownloadWith tmp webUUID url file
tryyoutubedl tmp
| isJust (fileOption o) = go file
| isJust (fileOption o) = dl file
-- Ask youtube-dl what filename it will download
-- first, and check if that is already an annexed file,
-- to avoid unnecessary work in that case.