From 6494683c275b82ccfad503a302a6c04f1e78cfb4 Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Mon, 18 Nov 2024 15:11:04 -0800 Subject: [PATCH] Fix ternary logic when printing template name (#4393) --- reflex/reflex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/reflex.py b/reflex/reflex.py index b0aa51090..a9a1e5455 100644 --- a/reflex/reflex.py +++ b/reflex/reflex.py @@ -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}")