From de67c112073ff83b38da6189fa03219913e910e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=B4=E5=A8=83=E9=85=B1?= Date: Sun, 8 Jan 2017 00:47:44 +0800 Subject: [PATCH] typo --- shadowsocks/tcprelay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/tcprelay.py b/shadowsocks/tcprelay.py index 83a5274..51d1df9 100644 --- a/shadowsocks/tcprelay.py +++ b/shadowsocks/tcprelay.py @@ -1019,7 +1019,7 @@ class TCPRelay(object): listen_port = config['server_port'] self._listen_port = listen_port - if common.to_bytes(config['protocol']) in ["auth_aes128_md5", "auth_aes128_sha1"]: + if common.to_bytes(config['protocol']) in [b"auth_aes128_md5", b"auth_aes128_sha1"]: param = common.to_bytes(config['protocol_param']).split(b'#') if len(param) == 2: user_list = param[1].split(b',')