Only check perc > 0

make-only-subtitle-default
HaveAGitGat 2 years ago
parent 1ba41207d3
commit 759a873c30

@ -197,7 +197,7 @@ var CLI = /** @class */ (function () {
fps: fps,
});
}
if (shouldUpdate === true && percentage > 0) {
if (percentage > 0) {
_this.updateETA(percentage);
_this.config.updateWorker({
percentage: percentage,

@ -212,7 +212,7 @@ class CLI {
});
}
if (shouldUpdate === true && percentage > 0) {
if (percentage > 0) {
this.updateETA(percentage);
this.config.updateWorker({
percentage,

Loading…
Cancel
Save