Skip to content

Commit 87e35e0

Browse files
committed
async: missing slaves: add missing imports
1e0bcde is missing imports into the async server, the import was only added to the sync server. Further fix for #42 Signed-off-by: Karl Palsson <karlp@remake.is>
1 parent ca02f9c commit 87e35e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pymodbus/server/async.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
------------------------------------------
44
55
'''
6+
import traceback
67
from binascii import b2a_hex
78
from twisted.internet import protocol
89
from twisted.internet.protocol import ServerFactory
@@ -13,6 +14,7 @@
1314
from pymodbus.device import ModbusControlBlock
1415
from pymodbus.device import ModbusAccessControl
1516
from pymodbus.device import ModbusDeviceIdentification
17+
from pymodbus.exceptions import NoSuchSlaveException
1618
from pymodbus.transaction import ModbusSocketFramer, ModbusAsciiFramer
1719
from pymodbus.pdu import ModbusExceptions as merror
1820
from pymodbus.internal.ptwisted import InstallManagementConsole

0 commit comments

Comments
 (0)