fix whitespace error

pull/75/head
topquark12 2022-06-06 15:25:37 +08:00 committed by Egor Savkin
parent 570c0324b3
commit 211e0fa1bd
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Client:
return line
def _command(self, *command):
self._socket.sendall((" ".join(command) + "\n").encode('utf-8'))
self._socket.sendall(((" ".join(command)).strip() + "\n").encode('utf-8'))
line = self._read_line()
response = json.loads(line)