fix meter update
This commit is contained in:
parent
3659cb9efb
commit
5ee72b1bae
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ retrieve h = fileRetriever $ \f k p -> liftIO $ runResourceT $ do
|
||||||
case mbs of
|
case mbs of
|
||||||
Nothing -> return ()
|
Nothing -> return ()
|
||||||
Just bs -> do
|
Just bs -> do
|
||||||
let sofar' = sofar -- addBytesProcessed $ S.length bs
|
let sofar' = addBytesProcessed sofar (S.length bs)
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
void $ meterupdate sofar'
|
void $ meterupdate sofar'
|
||||||
S.hPut fh bs
|
S.hPut fh bs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue