Skip to content

Commit 3581520

Browse files
committed
Add forgotten await.
1 parent a804262 commit 3581520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/server/async_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ async def StartAsyncSerialServer( # pylint: disable=invalid-name,dangerous-defa
12211221
server = ModbusSerialServer(
12221222
context, kwargs.pop("framer", ModbusAsciiFramer), identity=identity, **kwargs
12231223
)
1224-
server.start()
1224+
await server.start()
12251225
await _serverList.run(server, custom_functions)
12261226

12271227

0 commit comments

Comments
 (0)