From 1fb5d144d631ea7ec2ec4b2e0bbc2c43c10fea67 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 16 Nov 2022 15:39:34 +0100 Subject: [PATCH] Fix download progress bar (not always displayed) (#1980) * Fix download progress bar (not always displayed) * Remove debug leftovers --- cli/output/rpc_progress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/output/rpc_progress.go b/cli/output/rpc_progress.go index a35f99a53af..f2e478d67fc 100644 --- a/cli/output/rpc_progress.go +++ b/cli/output/rpc_progress.go @@ -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 } } }