mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
Added a bytes cast when checking for terminal response (#48427)
This commit is contained in:
parent
405d6d605f
commit
bb6dc9204f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class TerminalModule(TerminalBase):
|
||||||
terminal_inital_prompt_newline = False
|
terminal_inital_prompt_newline = False
|
||||||
|
|
||||||
def on_become(self, passwd=None):
|
def on_become(self, passwd=None):
|
||||||
if self._get_prompt().endswith('#'):
|
if self._get_prompt().endswith(b'#'):
|
||||||
return
|
return
|
||||||
|
|
||||||
cmd = {u'command': u'enable'}
|
cmd = {u'command': u'enable'}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue