fix 0 percent
This commit is contained in:
parent
b9b99f18a9
commit
a74de9b8fd
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ KIRI.work = {
|
||||||
|
|
||||||
zip: function(files, progress, output) {
|
zip: function(files, progress, output) {
|
||||||
send("zip", {files}, reply => {
|
send("zip", {files}, reply => {
|
||||||
if (reply.percent) {
|
if (reply.percent !== undefined) {
|
||||||
progress(reply);
|
progress(reply);
|
||||||
} else {
|
} else {
|
||||||
output(reply);
|
output(reply);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue