Skip to content

Commit

Permalink
搞错一个数
Browse files Browse the repository at this point in the history
  • Loading branch information
ly0 committed Apr 29, 2015
1 parent 04ffca2 commit b31f862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def login(usr, pwd, svr):
print "[login] wrong password."
i = i + 1
time.sleep(i*1.618)
elif data[0] != '\x02':
elif data[0] != '\x04':
print "[login] server return exception.retry"
if DEBUG:
print '[login] last packet server returned:\n' + data.encode('hex')
Expand Down

0 comments on commit b31f862

Please # to comment.