diff --git a/ts3/protocol.py b/ts3/protocol.py index a9ee8e1..937f5ff 100644 --- a/ts3/protocol.py +++ b/ts3/protocol.py @@ -126,7 +126,7 @@ class TS3Proto(): self.logger.debug("send_command - %s" % commandstr) with self.io_lock: - self._telnet.write(b"%s\n\r" % commandstr.encode('utf-8')) + self._telnet.write(commandstr.encode('utf-8') + b"\n\r") data = '' response = self._telnet.read_until(b"\n\r", self._timeout)