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: