diff --git a/ocpp/charge_point.py b/ocpp/charge_point.py index 9429322d6..4bbecdc66 100644 --- a/ocpp/charge_point.py +++ b/ocpp/charge_point.py @@ -311,7 +311,7 @@ async def call(self, payload, suppress=True, unique_id=None): action=payload.__class__.__name__[:-7], payload_json=camel_case_payload, suppress=suppress, - unique_id=unique_id + unique_id=unique_id, ) snake_case_payload = camel_to_snake_case(response.payload) @@ -350,9 +350,7 @@ async def generic_call(self, action, payload_json, suppress=True, unique_id=None ) call = Call( - unique_id=unique_id, - action=action, - payload=remove_nones(payload_json) + unique_id=unique_id, action=action, payload=remove_nones(payload_json) ) validate_payload(call, self._ocpp_version)