This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 861e5e7  Fix is_terminal_support_colors functtion (#9734)
861e5e7 is described below

commit 861e5e70f1e2dc816b756c60ef26a87ca3105ce9
Author: Kamil BreguĊ‚a <[email protected]>
AuthorDate: Sat Jul 11 21:35:48 2020 +0200

    Fix is_terminal_support_colors functtion (#9734)
---
 airflow/utils/platform.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/utils/platform.py b/airflow/utils/platform.py
index 6d77f15..5a74ef9 100644
--- a/airflow/utils/platform.py
+++ b/airflow/utils/platform.py
@@ -41,7 +41,7 @@ def is_terminal_support_colors() -> bool:
     """
     if sys.platform == "win32":
         return False
-    if is_tty():
+    if not is_tty():
         return False
     if "COLORTERM" in os.environ:
         return True

Reply via email to