Skip to content

Commit 550dae9

Browse files
committed
Update aiohttp requirements for REPL server, minor update in logging
1 parent acf0635 commit 550dae9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pymodbus/server/async_io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def connection_lost(self, exc):
110110
self._log_exception()
111111
else: # pragma: no cover
112112
if hasattr(self, "client_address"): # TCP connection
113-
_logger.debug("Client Disconnection [%s:%s] due "
114-
"to %s" % (*self.client_address, exc))
113+
_logger.debug("Client Disconnection {} due "
114+
"to {}".format(*self.client_address, exc))
115115

116116
self.running = False
117117

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
'repl:python_version >= "3.6"': [
105105
'click>=7.0',
106106
'prompt-toolkit>=3.0.8',
107-
'pygments>=2.2.0'
107+
'pygments>=2.2.0',
108+
'aiohttp>=3.7.3'
108109
]
109110
},
110111
entry_points={

0 commit comments

Comments
 (0)