Skip to content

Commit

Permalink
Fix ternary logic when printing template name (#4393)
Browse files Browse the repository at this point in the history
  • Loading branch information
masenf authored Nov 18, 2024
1 parent 34c11fd commit 6494683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/reflex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 6494683

Please sign in to comment.