This commit is contained in:
Joey Hess 2016-09-09 16:39:21 -04:00
parent 3e22d60549
commit e2a69c2cee
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
2 changed files with 17 additions and 7 deletions

View file

@ -80,9 +80,7 @@ complete v = Stream.start v `B.append` Stream.end
progress :: B.ByteString -> Integer -> BytesProcessed -> IO ()
progress jsonbuffer size bytesprocessed = emit $ B.concat
[ Stream.start $ Stream.AesonObject o
, ",\"action\":"
, jsonbuffer
, "}"
, Stream.addNestedObject "action" jsonbuffer
, Stream.end
]
where