Skip to content

Commit

Permalink
simulator future problem. (#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored Sep 9, 2023
1 parent ea3e4f5 commit 50d96d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pymodbus/server/simulator/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@ async def run_forever(self, only_start=False):
Log.info("HTTP server started on ({}:{})", self.http_host, self.http_port)
if only_start:
return
while True:
await self.serving()
await self.serving

async def stop(self):
"""Stop modbus and http servers."""
Expand Down

0 comments on commit 50d96d6

Please sign in to comment.