Skip to content

Commit 74935d2

Browse files
committed
fix typo
1 parent 25ad260 commit 74935d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyModbusTCP/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def __init__(self, host='localhost', port=const.MODBUS_PORT, no_block=False, ipv
234234
def start(self):
235235
"""Start the server.
236236
237-
Do nothing is server is already running.
237+
Do nothing if server is already running.
238238
This function will block if no_block is not set to True.
239239
"""
240240
if not self.is_run:
@@ -262,7 +262,7 @@ def start(self):
262262
def stop(self):
263263
"""Stop the server.
264264
265-
Do nothing is server is already not running.
265+
Do nothing if server is already not running.
266266
"""
267267
if self.is_run:
268268
self._service.shutdown()

0 commit comments

Comments
 (0)