1 Commits

Author SHA1 Message Date
  guzeng 01d3de4357 修复 3 years ago
2 changed files with 3 additions and 1 deletions
Unified View
  1. +2
    -0
      dir.go
  2. +1
    -1
      download.go

+ 2
- 0
dir.go View File

@ -1,6 +1,8 @@
package file package file
import ( import (
"log"
"os"
"strings" "strings"
) )


+ 1
- 1
download.go View File

@ -53,7 +53,7 @@ func DownProgress(url string, localPath string, fb func(length, downLen int64))
if err != nil { if err != nil {
// fmt.Println(err) // fmt.Println(err)
} }
if IsFileExist(localPath, fsize) {
if ok, _ := IsFileExist(localPath, fsize); ok {
return err return err
} }


Loading…
Cancel
Save