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
|
||||
Nothing -> return ()
|
||||
Just bs -> do
|
||||
let sofar' = sofar -- addBytesProcessed $ S.length bs
|
||||
let sofar' = addBytesProcessed sofar (S.length bs)
|
||||
liftIO $ do
|
||||
void $ meterupdate sofar'
|
||||
S.hPut fh bs
|
||||
|
|
Loading…
Add table
Reference in a new issue