Skip to content

Commit

Permalink
Fix support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks committed Mar 12, 2024
1 parent c8e39fe commit c87228c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gvm/protocols/core/_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class StatusError(GvmError):
May be raised when calling `response.raise_for_status()`
"""

def __init__(self, message: str | None, *args, response: "Response"):
def __init__(self, message: Optional[str], *args, response: "Response"):
super().__init__(message, *args)
self.response = response
self.request = response.request
Expand Down

0 comments on commit c87228c

Please sign in to comment.