소스 검색

Fix ternary logic when printing template name (#4393)

Masen Furer 6 달 전
부모
커밋
6494683c27
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      reflex/reflex.py

+ 1 - 1
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}")