changed print [x1b[31mircx1b[0m] + raw to [x1b[31mircx1b[0m] + raw.split()