Skip to content

Commit

Permalink
Fix regression with REPL server not listening (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored and janiversen committed Jun 21, 2023
1 parent bbcef84 commit 79e0e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/repl/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ def run(
**web_app_config,
**modbus_config,
)
loop.run_until_complete(app.run_async(repl))
if repl:
loop.run_until_complete(run_repl(app))
else:
loop.run_until_complete(app.run_async(repl))
loop.run_forever()


Expand Down

0 comments on commit 79e0e96

Please sign in to comment.