fix a TB
This commit is contained in:
parent
32bb3c5024
commit
9cbec8ac6d
|
@ -131,6 +131,7 @@ class TCPsocket(PlugIn):
|
||||||
|
|
||||||
if len(received): # length of 0 means disconnect
|
if len(received): # length of 0 means disconnect
|
||||||
self.DEBUG(received,'got')
|
self.DEBUG(received,'got')
|
||||||
|
if hasattr(self._owner, 'Dispatcher'):
|
||||||
self._owner.Dispatcher.Event('', DATA_RECEIVED, received)
|
self._owner.Dispatcher.Event('', DATA_RECEIVED, received)
|
||||||
else:
|
else:
|
||||||
self.DEBUG('Socket error while receiving data','error')
|
self.DEBUG('Socket error while receiving data','error')
|
||||||
|
|
Loading…
Reference in New Issue