Skip to content

Commit

Permalink
fix: using default=template.value for template prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 19, 2024
1 parent 73f489b commit ba9b718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dreadnode_cli/agent/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def init(

print()
project_name = Prompt.ask("Project name?", default=name or directory.name)
template = Template(Prompt.ask("Template?", choices=[t.value for t in Template], default=template))
template = Template(Prompt.ask("Template?", choices=[t.value for t in Template], default=template.value))

directory.mkdir(exist_ok=True)

Expand Down

0 comments on commit ba9b718

Please sign in to comment.