From 23282a60d1503ea27d92f1e451967feff2c150e2 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 21 Jun 2025 02:36:44 +0100 Subject: [PATCH] test against empty string to keep it consisten with rich patch bump --- obsws_cli/__about__.py | 2 +- obsws_cli/util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/obsws_cli/__about__.py b/obsws_cli/__about__.py index e64c45c..aecbd46 100644 --- a/obsws_cli/__about__.py +++ b/obsws_cli/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2025-present onyx-and-iris # # SPDX-License-Identifier: MIT -__version__ = "0.17.4" +__version__ = "0.17.5" diff --git a/obsws_cli/util.py b/obsws_cli/util.py index 98f1299..4d1553b 100644 --- a/obsws_cli/util.py +++ b/obsws_cli/util.py @@ -13,6 +13,6 @@ def check_mark(value: bool, empty_if_false: bool = False) -> str: if empty_if_false and not value: return '' - if os.getenv('NO_COLOR') is not None: + if os.getenv('NO_COLOR', '') != '': return '✓' if value else '✗' return '✅' if value else '❌'