Skip to content

Commit 74007ed

Browse files
style(cli): format interactive template wizard
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9cc5617 commit 74007ed

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/create-awesome-python-app/src/create_awesome_python_app

packages/create-awesome-python-app/src/create_awesome_python_app/cli.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ def scaffold(
126126
qmark="?",
127127
pointer=">",
128128
).ask()
129-
selected_template = choice_by_title.get(
130-
str(selected_title), selected_title
131-
)
129+
selected_template = choice_by_title.get(str(selected_title), selected_title)
132130
if selected_template == CUSTOM_TEMPLATE_SENTINEL:
133131
selected_template = questionary.text(
134132
"Template URL",

0 commit comments

Comments
 (0)