mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 03:30:05 -05:00
Actually write the output :(
This commit is contained in:
parent
112a674520
commit
a29d17b0bd
@ -67,6 +67,7 @@ def copy_filelike(infp, dst):
|
|||||||
chunk = infp.read(chunk_sz)
|
chunk = infp.read(chunk_sz)
|
||||||
assert len(chunk) == chunk_sz, (
|
assert len(chunk) == chunk_sz, (
|
||||||
'Incomplete chunk, expected %d (%s)got %d' % (sz, `sz_buf`, len(chunk)))
|
'Incomplete chunk, expected %d (%s)got %d' % (sz, `sz_buf`, len(chunk)))
|
||||||
|
dst.write(chunk)
|
||||||
recvd += len(chunk)
|
recvd += len(chunk)
|
||||||
|
|
||||||
def work(args):
|
def work(args):
|
||||||
|
Loading…
Reference in New Issue
Block a user