From dd6c89b94d3d4ed028b37559d3cf62e0095c27b4 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Fri, 17 Jan 2025 09:24:20 -0400 Subject: [PATCH] Need to specify string value for auth type option --- src/palace_tools/cli/download_feed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/palace_tools/cli/download_feed.py b/src/palace_tools/cli/download_feed.py index 49d7685..05c7a9b 100644 --- a/src/palace_tools/cli/download_feed.py +++ b/src/palace_tools/cli/download_feed.py @@ -91,7 +91,7 @@ def download_opds( username: str = typer.Option(None, "--username", "-u", help="Username"), password: str = typer.Option(None, "--password", "-p", help="Password"), authentication: opds.AuthType = typer.Option( - opds.AuthType.NONE, "--auth", "-a", help="Authentication type" + opds.AuthType.NONE.value, "--auth", "-a", help="Authentication type" ), url: str = typer.Argument(..., help="URL of feed", metavar="URL"), output_file: Path = typer.Argument( @@ -109,7 +109,7 @@ def download_opds1( username: str = typer.Option(None, "--username", "-u", help="Username"), password: str = typer.Option(None, "--password", "-p", help="Password"), authentication: opds.AuthType = typer.Option( - opds.AuthType.NONE, "--auth", "-a", help="Authentication type" + opds.AuthType.NONE.value, "--auth", "-a", help="Authentication type" ), url: str = typer.Argument(..., help="URL of feed", metavar="URL"), output_file: Path = typer.Argument(