def _reallySendLine(self, line): quoteLine = lowQuote(line) if isinstance(quoteLine, unicode): quoteLine = quoteLine.encode("utf-8") quoteLine += b'\r' return basic.LineReceiver.sendLine(self, quoteLine)