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

Fix ci text color

parent c5c608f0
......@@ -38,8 +38,8 @@ def vprint(str):
is_windows = os.name == 'nt'
EXE_EXT = '.exe' if is_windows else ''
no_color = False
if is_windows:
no_color = 'CI' in os.environ and os.environ['CI'] == 'true'
if not no_color and is_windows:
try:
import colorama
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