Commit 01ac85bc authored by szh's avatar szh

update

parent e81cb9d5
...@@ -272,7 +272,6 @@ func DownLoadFile(url string,file string) error { ...@@ -272,7 +272,6 @@ func DownLoadFile(url string,file string) error {
return err return err
} }
defer func() { defer func() {
DPercent.Current = r.ContentLength
r.Body.Close() 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