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 41dd8b9 commit a8dfeed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moler/device/proxy_pc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import six
import abc
import platform
import time

from moler.device.textualdevice import TextualDevice
from moler.device.unixlocal import UnixLocal
Expand Down Expand Up @@ -247,7 +248,8 @@ def on_connection_made(self, connection):
self._prompt_detected = False # prompt not defined in SM
self._set_state(PROXY_PC)
self._detect_after_open_prompt(self._set_after_open_prompt)
self._detect_prompt_get_cmd()
if self._sleep_after_state_change is not None and self._sleep_after_state_change > 0:
time.sleep(self._sleep_after_state_change)

def on_connection_lost(self, connection):
"""
Expand Down

0 comments on commit a8dfeed

Please sign in to comment.