Skip to content

Commit

Permalink
Properly access ocpp version enum value
Browse files Browse the repository at this point in the history
Fixes central_system fixture for python 3.11

Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Apr 18, 2024
1 parent d9bf04b commit 163381b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def start(self, ssl_context=None):
self.on_connect,
'0.0.0.0',
self.port,
subprotocols=[self.ocpp_version],
subprotocols=[self.ocpp_version.value],
ssl=ssl_context
)
if self.port is None:
Expand Down

0 comments on commit 163381b

Please sign in to comment.