Skip to content

Commit 406e9ef

Browse files
committed
Add forgotten await.
1 parent 5e593df commit 406e9ef

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
@@ -1225,7 +1225,7 @@ async def StartAsyncSerialServer( # pylint: disable=invalid-name,dangerous-defa
12251225
server = ModbusSerialServer(
12261226
context, kwargs.pop("framer", ModbusAsciiFramer), identity=identity, **kwargs
12271227
)
1228-
server.start()
1228+
await server.start()
12291229
await _serverList.run(server, custom_functions)
12301230

12311231

0 commit comments

Comments
 (0)