From d9807f87317a4d4aec2d51f1529e4d64facb8814 Mon Sep 17 00:00:00 2001 From: "shang.wang" Date: Wed, 27 Sep 2023 12:10:05 -0400 Subject: [PATCH] fix typo. --- python/mujinasync/asynchttp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mujinasync/asynchttp.py b/python/mujinasync/asynchttp.py index 9a5ddcc..fcc21df 100644 --- a/python/mujinasync/asynchttp.py +++ b/python/mujinasync/asynchttp.py @@ -199,8 +199,8 @@ def _HandleHttpReceiveOnce(self, connection): self._HandleHttpResponse(connection, response) return True # handled one request, try next one - def _HandleHttpResponse(self, connection, request): - return self._CallApi('HandleHttpResponse', request=request, connection=connection, client=self) + def _HandleHttpResponse(self, connection, response): + return self._CallApi('HandleHttpResponse', response=response, connection=connection, client=self) def _TryReceiveHttpResponse(self, connection): bufferData = connection.receiveBuffer.readView.tobytes()