aboutsummaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-28 14:54:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-28 14:54:02 -0400
commitba81a7b4abcc4b14072bc8d717191151a50614c8 (patch)
tree6831e53dca9737115cc8ac4f1e72689f1e17e02c /Command/ImportFeed.hs
parentb97207881a3336a4e8befe90e530954def022d93 (diff)
Probe for quvi version at run time.
Overhead: git annex addurl runs quvi --version once. And more bloat to Annex state..
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 005d42d20..50f4278b6 100644
--- a/Command/ImportFeed.hs
+++ b/Command/ImportFeed.hs
@@ -108,7 +108,7 @@ findDownloads u = go =<< downloadFeed u
Nothing -> mkquvi f i
#ifdef WITH_QUVI
mkquvi f i = case getItemLink i of
- Just link -> ifM (liftIO $ Quvi.supported link)
+ Just link -> ifM (quviSupported link)
( return $ Just $ ToDownload f u i $ QuviLink link
, return Nothing
)