Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Nov 13, 2024
1 parent a8dfeed commit d083e64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moler/device/proxy_pc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def on_connection_made(self, connection):
:param connection: device connection.
:return: None.
"""
self.logger.info(f"Connection made: {connection}")
if self._use_local_unix_state:
super(ProxyPc2, self).on_connection_made(connection)
self._prompt_detected = True # prompt defined in SM
Expand All @@ -257,6 +258,7 @@ def on_connection_lost(self, connection):
:param connection: device connection.
:return: None.
"""
self.logger.info(f"Connection lost: {connection}")
self._set_state(NOT_CONNECTED)

def _detect_after_open_prompt(self, set_callback):
Expand Down

0 comments on commit d083e64

Please sign in to comment.