From 43af618bb5b1c34b9e6c2a487a12046ad9278030 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Wed, 16 Apr 2025 23:28:07 +0200 Subject: [PATCH] Remove negation --- libs/cli/langgraph_cli/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/cli/langgraph_cli/progress.py b/libs/cli/langgraph_cli/progress.py index 252abd009..f07b48db1 100644 --- a/libs/cli/langgraph_cli/progress.py +++ b/libs/cli/langgraph_cli/progress.py @@ -44,7 +44,7 @@ class Progress: sys.stdout.flush() def __enter__(self) -> Callable[[str], None]: - if not sys.stdout.isatty(): + if sys.stdout.isatty(): self.thread = threading.Thread(target=self.spinner_task) self.thread.start()