color: fix TypeError with auto mode on win32 when colors aren't available (issue2871)
This can happen when stdout isn't a terminal (e.g., it's being piped).
Please register or sign in to comment
This can happen when stdout isn't a terminal (e.g., it's being piped).