Compare commits

...

2 Commits

Author SHA1 Message Date
Danilo Reyes
899543309f download 3.0 2026-03-01 00:22:56 -06:00
Danilo Reyes
5000304a8a fixed requires-revision 2026-03-01 00:22:11 -06:00
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
}:
let
pname = "download";
version = "2.6";
version = "3.0";
in
buildPythonApplication {
inherit pname version;

View File

@@ -116,12 +116,14 @@ def cmd_rename(args: argparse.Namespace) -> None:
def cmd_list(args: argparse.Namespace) -> None:
users = args.user or None
include_disabled = args.disabled or args.requires_revision
include_banned = args.banned or args.requires_revision
with db.connect() as conn:
rows = db.get_links(
conn,
users=users,
include_disabled=args.disabled,
include_banned=args.banned,
include_disabled=include_disabled,
include_banned=include_banned,
requires_revision_only=args.requires_revision,
)
for row in rows: