From bda81059284311bd3007a7d98082883ae01abc74 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sat, 28 Feb 2026 23:01:36 -0600 Subject: [PATCH] fix list download admin --- src/download/admin_links.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/download/admin_links.py b/src/download/admin_links.py index 0240557..4344054 100644 --- a/src/download/admin_links.py +++ b/src/download/admin_links.py @@ -125,6 +125,10 @@ def cmd_list(args: argparse.Namespace) -> None: requires_revision_only=args.requires_revision, ) for row in rows: + if args.disabled and row["enabled"]: + continue + if args.banned and not row["banned_at"]: + continue status = "enabled" if row["enabled"] else "disabled" if row["banned_at"]: status = "banned"