Skip to content

Commit

Permalink
Need to specify string value for auth type option
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Jan 17, 2025
1 parent cbc5c66 commit dd6c89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/palace_tools/cli/download_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit dd6c89b

Please sign in to comment.