Unverified Commit 1fb5d144 authored by Cristian Maglie's avatar Cristian Maglie Committed by GitHub

Fix download progress bar (not always displayed) (#1980)

* Fix download progress bar (not always displayed)

* Remove debug leftovers
parent 8e1e16b3
......@@ -64,7 +64,6 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
mux.Lock()
defer mux.Unlock()
// fmt.Printf(">>> %v\n", curr)
if start := curr.GetStart(); start != nil {
label = start.GetLabel()
bar = pb.New(0)
......@@ -89,6 +88,7 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
} else {
feedback.Print(label + " " + msg)
}
started = false
}
}
}
......
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