fix 0 percent

This commit is contained in:
Stewart Allen 2021-02-01 17:44:25 -05:00
commit a74de9b8fd

View file

@ -249,7 +249,7 @@ KIRI.work = {
zip: function(files, progress, output) {
send("zip", {files}, reply => {
if (reply.percent) {
if (reply.percent !== undefined) {
progress(reply);
} else {
output(reply);