Browse Source

fix index

dev
BreakWa11 9 years ago
parent
commit
e56c5e4b90
  1. 2
      shadowsocks/server.py

2
shadowsocks/server.py

@ -74,7 +74,7 @@ def main():
if type(password_obfs) == list:
password = password_obfs[0]
obfs = password_obfs[1]
if len(password_obfs) >= 2:
if len(password_obfs) > 2:
protocol = password_obfs[2]
elif type(password_obfs) == dict:
password = password_obfs.get('password', 'm')

Loading…
Cancel
Save