Commit 9a9139a6 authored by Skye Yu's avatar Skye Yu

test:

parent 14d53baa
......@@ -718,7 +718,7 @@ Jensen.prototype.getFile = async function (filename, length, ondata, onprogress)
if (msg != null) {
flen += msg.body.length || msg.body.byteLength;
// const data = msg.body.join('').replace(/4869446F636B564D.*/, '').split('');
ondata(msg.data);
ondata(msg.body);
// return OK indicates all file blocks received
if (flen >= length) return 'OK';
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment