fix: set progress to 100 when it's NaN (close #5906)
This commit is contained in:
@ -2,13 +2,14 @@ package tool
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/alist-org/alist/v3/internal/conf"
|
||||
"github.com/alist-org/alist/v3/internal/errs"
|
||||
"github.com/alist-org/alist/v3/internal/setting"
|
||||
"github.com/pkg/errors"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/xhofe/tache"
|
||||
"time"
|
||||
)
|
||||
|
||||
type DownloadTask struct {
|
||||
|
Reference in New Issue
Block a user