Skip to content

Commit ae716a1

Browse files
authored
Fix/handle v2.1 not implemented error (#744)
1 parent 38fc9d5 commit ae716a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocpp/charge_point.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _raise_key_error(action, version):
179179
raise NotSupportedError(
180180
details={"cause": f"{action} not supported by OCPP{version}."}
181181
)
182-
elif version in ["2.0", "2.0.1"]:
182+
elif version in ["2.0", "2.0.1", "2.1"]:
183183
try:
184184
v201_Action(action)
185185
raise NotImplementedError(

0 commit comments

Comments
 (0)