Skip to content

Commit 1fb5d14

Browse files
authored
Fix download progress bar (not always displayed) (#1980)
* Fix download progress bar (not always displayed) * Remove debug leftovers
1 parent 8e1e16b commit 1fb5d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/output/rpc_progress.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
6464
mux.Lock()
6565
defer mux.Unlock()
6666

67-
// fmt.Printf(">>> %v\n", curr)
6867
if start := curr.GetStart(); start != nil {
6968
label = start.GetLabel()
7069
bar = pb.New(0)
@@ -89,6 +88,7 @@ func NewDownloadProgressBarCB() func(*rpc.DownloadProgress) {
8988
} else {
9089
feedback.Print(label + " " + msg)
9190
}
91+
started = false
9292
}
9393
}
9494
}

0 commit comments

Comments
 (0)