From 7269fa82807a03a04939da00f60271efa746a1bf Mon Sep 17 00:00:00 2001 From: drc38 <20024196+drc38@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:50:23 +1300 Subject: [PATCH] fix unbounderror in _handle_call --- ocpp/charge_point.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ocpp/charge_point.py b/ocpp/charge_point.py index a8d3c5da5..863010db4 100644 --- a/ocpp/charge_point.py +++ b/ocpp/charge_point.py @@ -204,6 +204,7 @@ async def _handle_call(self, msg): handlers = self.route_map[msg.action] except KeyError: _raise_keyerror(msg.action, self._ocpp_version) + return if not handlers.get("_skip_schema_validation", False): validate_payload(msg, self._ocpp_version)