Skip to content

Commit 79e0e96

Browse files
alexrudd2janiversen
authored andcommitted
Fix regression with REPL server not listening (#1604)
1 parent bbcef84 commit 79e0e96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/repl/server/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ def run(
198198
**web_app_config,
199199
**modbus_config,
200200
)
201+
loop.run_until_complete(app.run_async(repl))
201202
if repl:
202203
loop.run_until_complete(run_repl(app))
203204
else:
204-
loop.run_until_complete(app.run_async(repl))
205205
loop.run_forever()
206206

207207

0 commit comments

Comments
 (0)