From abab62c65ac36832a55ff10d5a9ea10c6f505a34 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 15 May 2026 18:07:25 +0100 Subject: [PATCH] Fix progressbar bug Signed-off-by: Markus Birth --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9ef676b..8d92f28 100644 --- a/main.py +++ b/main.py @@ -165,8 +165,8 @@ def main(): print(f"[bold red]{len(to_block)}[/bold red] users are not on your list yet. ([bold green]{len(blocked_by)-len(to_block)}[/bold green] are.)") # Lists I'm on that people subscribed to - task_csky_users = prog.add_task(f"Loading subscribed blocklists you're on") - subscribed_blocklists_im_on = cs.get_subscribed_blocklists(lambda cur, tot: prog.update(task_csky_users, completed=cur, total=tot)) + task_csky_lists = prog.add_task(f"Loading subscribed blocklists you're on") + subscribed_blocklists_im_on = cs.get_subscribed_blocklists(lambda cur, tot: prog.update(task_csky_lists, completed=cur, total=tot)) print(f"ClearSky returned [bold yellow]{len(subscribed_blocklists_im_on)}[/bold yellow] blocklists you're on and others subscribed to.") prev_len = len(to_block) for item in subscribed_blocklists_im_on: