Skip to content

Commit 6e48a75

Browse files
committed
clean comm_params.
1 parent 8856be4 commit 6e48a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymodbus/transport/transport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class CommParams:
8888
host: str = "localhost" # On some machines this will now be ::1
8989
port: int = 0
9090
source_address: tuple[str, int] | None = None
91-
handle_local_echo: bool = False
9291

9392
# tls
9493
sslctx: ssl.SSLContext | None = None
@@ -98,7 +97,8 @@ class CommParams:
9897
bytesize: int = -1
9998
parity: str = ''
10099
stopbits: int = -1
101-
allow_multiple_devices: bool = False
100+
handle_local_echo: bool = False
101+
allow_multiple_devices: bool = False # Only for server!
102102

103103
@classmethod
104104
def generate_ssl(

0 commit comments

Comments
 (0)