Fix ternary logic when printing template name (#4393)

This commit is contained in:
Masen Furer 2024-11-18 15:11:04 -08:00 committed by GitHub
parent 34c11fdf10
commit 6494683c27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,7 +120,7 @@ def _init(
# Initialize the requirements.txt.
prerequisites.initialize_requirements_txt()
template_msg = "" if template else f" using the {template} template"
template_msg = "" if not template else f" using the {template} template"
# Finish initializing the app.
console.success(f"Initialized {app_name}{template_msg}")