summaryrefslogtreecommitdiff
path: root/Command/ImportFeed.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-20 13:41:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-20 13:41:13 -0400
commit22265ce41a4bb0ada9070a0ae358a9f321f437be (patch)
tree131d2d24a58be5dde5638ce69c2a87a81151f6cf /Command/ImportFeed.hs
parent8dbffd39ffc30879bd1d5068114c18e341a8e8ae (diff)
add readFileStrictAnyEncoding
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 7f54643c9..45a0d3b7e 100644
--- a/Command/ImportFeed.hs
+++ b/Command/ImportFeed.hs
@@ -106,7 +106,7 @@ downloadFeed url = do
liftIO $ withTmpFile "feed" $ \f h -> do
fileEncoding h
ifM (Url.download url [] [] f ua)
- ( liftIO $ parseFeedString <$> hGetContentsStrict h
+ ( parseFeedString <$> hGetContentsStrict h
, return Nothing
)