Fix pexpect

This commit is contained in:
Andy Kipp 2021-03-14 18:08:08 +03:00 committed by GitHub
parent 1193af862b
commit a286b2c5e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ class xxh:
else:
sess.sendline(key_password)
if pattern == [3,4]:
if pattern in [3,4]:
# Expected:
# <host>`s password:
if host_password is None: