Skip to content

Commit

Permalink
Update signal name in NssServer class
Browse files Browse the repository at this point in the history
  • Loading branch information
sisoe24 committed Dec 27, 2023
1 parent 91a90e1 commit 31706f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nukeserversocket/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class NssServer(QTcpServer):
This class is responsible for receiving data from the client, and sending the output back.
Signals:
on_data_written (): Signal emitted when data is written to the client.
on_data_received (): Signal emitted when data is received from the client.
"""
on_data_received = Signal()
Expand Down Expand Up @@ -51,6 +51,7 @@ def _on_socket_ready(self):
self.on_data_received.emit()

LOGGER.info('Writing output to back socket...')

self._socket.write(output.encode('utf-8'))
LOGGER.debug('Output: %s', output.replace('\n', '\\n'))

Expand Down

0 comments on commit 31706f2

Please sign in to comment.