if CHECK_COLOR in runCommand( TypeError: a bytes-like object is required, not 'str' this is on the default code... my solution was .encode('utf-8')