Commit 01ac85bc authored by szh's avatar szh

update

parent e81cb9d5
......@@ -272,7 +272,6 @@ func DownLoadFile(url string,file string) error {
return err
}
defer func() {
DPercent.Current = r.ContentLength
r.Body.Close()
}()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment