mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 01:36:08 -07:00
Only check perc > 0
This commit is contained in:
parent
1ba41207d3
commit
759a873c30
2 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ var CLI = /** @class */ (function () {
|
||||||
fps: fps,
|
fps: fps,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (shouldUpdate === true && percentage > 0) {
|
if (percentage > 0) {
|
||||||
_this.updateETA(percentage);
|
_this.updateETA(percentage);
|
||||||
_this.config.updateWorker({
|
_this.config.updateWorker({
|
||||||
percentage: percentage,
|
percentage: percentage,
|
||||||
|
|
|
||||||
|
|
@ -212,7 +212,7 @@ class CLI {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shouldUpdate === true && percentage > 0) {
|
if (percentage > 0) {
|
||||||
this.updateETA(percentage);
|
this.updateETA(percentage);
|
||||||
this.config.updateWorker({
|
this.config.updateWorker({
|
||||||
percentage,
|
percentage,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue