From 5157b2535b8e5fde90f3e6cc2a0e3a7ae660a0d0 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 12 Jul 2020 17:57:41 -0400 Subject: [PATCH] correctly update main bar --- lbry/console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/console.py b/lbry/console.py index e59966ec5..6b47b4b2f 100644 --- a/lbry/console.py +++ b/lbry/console.py @@ -382,9 +382,9 @@ class Advanced(Basic): bar.close() else: if len(d['done']) > 1: - bar.update(d['done']) + bar.update(d['done']-bar.n) else: - bar.update(d['done'][0]) + bar.update(d['done'][0]-bar.n) def sync_task(self, name, d): bar_name = f"{name}#{d['id']}"