diff --git a/shadowsocks/cryptor.py b/shadowsocks/cryptor.py index b2a744c..719b1b6 100644 --- a/shadowsocks/cryptor.py +++ b/shadowsocks/cryptor.py @@ -137,9 +137,10 @@ class Cryptor(object): decipher_iv = buf[:decipher_iv_len] self.decipher_iv = decipher_iv self.decipher = self.get_cipher( - self.password, self.method, - CIPHER_ENC_DECRYPTION, - iv=decipher_iv) + self.password, self.method, + CIPHER_ENC_DECRYPTION, + iv=decipher_iv + ) buf = buf[decipher_iv_len:] if len(buf) == 0: return buf