Skip to content

Commit

Permalink
fix unbounderror in _handle_call
Browse files Browse the repository at this point in the history
  • Loading branch information
drc38 authored Oct 19, 2023
1 parent c861e36 commit 7269fa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocpp/charge_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7269fa8

Please sign in to comment.