1
0
mirror of https://github.com/JoelBender/modpypes synced 2025-10-19 21:30:44 +08:00

minor debugging text

This commit is contained in:
Joel Bender 2017-04-28 15:29:52 -04:00
parent 793263db9d
commit 045174b54a

View File

@ -58,7 +58,6 @@ class ModbusException(RuntimeError):
# stream_to_packet
#
def stream_to_packet(data):
"""
Chop a stream of data into MODBUS packets.
@ -207,7 +206,7 @@ class ModbusClientController(SieveClientController):
# look up the queue
queue = self.queues.get(address, None)
if not queue:
if _debug: ModbusClientController._debug("no queue for %r" % (address,))
if _debug: ModbusClientController._debug(" - no queue: %r" % (address,))
return
if _debug: ModbusClientController._debug(" - queue: %r", queue)