mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix Message.is_response()
This commit is contained in:
parent
e87025d664
commit
b08e8e2233
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ class Message(object):
|
|||
def is_response(self, command=None):
|
||||
if not isinstance(self, Response):
|
||||
return False
|
||||
return command is None or self.command == command
|
||||
return command is None or self.request.command == command
|
||||
|
||||
@staticmethod
|
||||
def raise_error(*args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue