Unverified Commit e6eb5155 authored by 南宫雪珊's avatar 南宫雪珊 Committed by GitHub

Fix ci text color

parent c5c608f0
...@@ -38,8 +38,8 @@ def vprint(str): ...@@ -38,8 +38,8 @@ def vprint(str):
is_windows = os.name == 'nt' is_windows = os.name == 'nt'
EXE_EXT = '.exe' if is_windows else '' EXE_EXT = '.exe' if is_windows else ''
no_color = False no_color = 'CI' in os.environ and os.environ['CI'] == 'true'
if is_windows: if not no_color and is_windows:
try: try:
import colorama import colorama
colorama.init() colorama.init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment