test against empty string to keep it consisten with rich

patch bump
This commit is contained in:
onyx-and-iris 2025-06-21 02:36:44 +01:00
parent b6ba66db64
commit 23282a60d1
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2025-present onyx-and-iris <code@onyxandiris.online>
#
# SPDX-License-Identifier: MIT
__version__ = "0.17.4"
__version__ = "0.17.5"

View File

@ -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 ''