From 9d8c37eaf5f494e2c7265b67d60a56b513a3dca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Tue, 17 Jan 2023 16:26:11 +0000 Subject: [PATCH] fix wrong type in base class --- a2s/a2s_protocol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/a2s/a2s_protocol.py b/a2s/a2s_protocol.py index bf5b5b9..0f3aa81 100644 --- a/a2s/a2s_protocol.py +++ b/a2s/a2s_protocol.py @@ -9,14 +9,14 @@ from .byteio import ByteReader class A2SProtocol: @staticmethod def serialize_request(challenge: int) -> bytes: - raise NotImplemented + raise NotImplementedError() @staticmethod def validate_response_type(response_type: int) -> bool: - raise NotImplemented + raise NotImplementedError() @staticmethod def deserialize_response( reader: ByteReader, response_type: int, ping: Optional[float] ) -> Any: - raise NotImplemented + raise NotImplementedError()