diff --git a/python/taichi/_lib/utils.py b/python/taichi/_lib/utils.py index 3f2add67e1edb..b14dc058a839a 100644 --- a/python/taichi/_lib/utils.py +++ b/python/taichi/_lib/utils.py @@ -169,7 +169,7 @@ def _print_taichi_header(): print(header) -if os.environ.get("ENABLE_TAICHI_HEADER_PRINT", True): +if os.getenv("ENABLE_TAICHI_HEADER_PRINT", "True").lower() not in ("false", "0", "f"): _print_taichi_header()