value[:-2] would chop off the last 2 characters.
value[:-2]
value + '\r\n' should add the CRLF back.
value + '\r\n'