mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-18 06:53:38 +00:00
test against empty string to keep it consisten with rich
patch bump
This commit is contained in:
@@ -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 '❌'
|
||||
|
||||
Reference in New Issue
Block a user