Skip to content

Commit

Permalink
v0.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 13, 2024
1 parent 3fe0c07 commit 50126f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtbp3/health/ectd.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def color_output(out="", words=[], color='red'):
assert all(isinstance(word, str) and word for word in words), "Elements in the list must be strings"
color_dic = {'red': 31, 'green': 32, 'yellow': 33, 'blue': 34, 'magenta': 35, 'cyan': 36}
if color not in color_dic.keys():
return row
return out
else:
color_str = f"\x1b[{color_dic[color]}m"

Expand Down

0 comments on commit 50126f0

Please sign in to comment.