diff --git a/xxh_xxh/xxh.py b/xxh_xxh/xxh.py index 5c93ca6..27063cd 100644 --- a/xxh_xxh/xxh.py +++ b/xxh_xxh/xxh.py @@ -160,7 +160,7 @@ class xxh: else: sess.sendline(key_password) - if pattern == [3,4]: + if pattern in [3,4]: # Expected: # `s password: if host_password is None: