Merge pull request #512 from HaveAGitGat/parser

Only check perc > 0
make-only-subtitle-default
HaveAGitGat 2 years ago committed by GitHub
commit 24035bb24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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