Skip to content

Commit

Permalink
fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
shang.wang committed Sep 27, 2023
1 parent aced77a commit d9807f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mujinasync/asynchttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d9807f8

Please sign in to comment.