Skip to content

Commit

Permalink
Fix color
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Mar 4, 2024
1 parent 777afca commit fcb2c2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coconut/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
VERSION = "3.1.0"
VERSION_NAME = None
# False for release, int >= 1 for develop
DEVELOP = 1
DEVELOP = 2
ALPHA = False # for pre releases rather than post releases

assert DEVELOP is False or DEVELOP >= 1, "DEVELOP must be False or an int >= 1"
Expand Down
2 changes: 1 addition & 1 deletion coconut/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def should_use_color(file=None):
return use_color
if get_bool_env_var("CLICOLOR_FORCE") or get_bool_env_var("FORCE_COLOR"):
return True
return file is not None and not isatty(file)
return file is not None and isatty(file)


# -----------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit fcb2c2e

Please sign in to comment.