Skip to content

Commit be77947

Browse files
authored
Merge branch 'develop' into nokia_isam_improvement
2 parents 02c177d + 4d2cb53 commit be77947

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netmiko/base_connection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,6 +2032,8 @@ def enable_secret_handler(
20322032
if re.search(pattern, output, flags=re_flags):
20332033
self.write_channel(self.normalize_cmd(self.secret))
20342034
new_output = self.read_until_prompt()
2035+
else:
2036+
new_output = ""
20352037
return new_output
20362038

20372039
def enable(

0 commit comments

Comments
 (0)