Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fixes #426

Closed
wants to merge 12 commits into from
2 changes: 1 addition & 1 deletion ocpp/charge_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def _handle_call(self, msg):

First the '_on_action' hook is executed and its response is returned to
the client. If there is no '_on_action' hook for Action in the message
a CallError with a NotImplemtendError is returned.
a CallError with a NotSupportedError is returned.

Next the '_after_action' hook is executed.

Expand Down
4 changes: 2 additions & 2 deletions ocpp/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ def to_exception(self):
)

raise UnknownCallErrorCodeError(
"Error code '%s' is not defined by the" " OCPP specification",
self.error_code,
"Error code '%s' is not defined by the"
" OCPP specification" % self.error_code,
)

def __repr__(self):
Expand Down