diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-19 16:28:12 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-19 16:28:12 -0400 |
commit | f975e5814bfa506b715ac66df1b76c66d37668ba (patch) | |
tree | 846669fbbfbbb6d2b47226dac1c7c7e8479348fc /Command | |
parent | 7b8d5a9436195e6b7749e01f97f7ffbf269a5794 (diff) |
analysis
Diffstat (limited to 'Command')
-rw-r--r-- | Command/ImportFeed.hs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/ImportFeed.hs b/Command/ImportFeed.hs index 1736f2567..832ec1246 100644 --- a/Command/ImportFeed.hs +++ b/Command/ImportFeed.hs @@ -138,10 +138,12 @@ findDownloads u = go =<< downloadFeed u Just $ ToDownload f u i $ Enclosure enclosureurl Nothing -> mkquvi f i mkquvi f i = case getItemLink i of - Just link -> ifM (quviSupported link) - ( return $ Just $ ToDownload f u i $ QuviLink link - , return Nothing - ) + Just link -> do + liftIO $ print ("link", link) + ifM (quviSupported link) + ( return $ Just $ ToDownload f u i $ QuviLink link + , return Nothing + ) Nothing -> return Nothing {- Feeds change, so a feed download cannot be resumed. -} |