Skip to content

Commit

Permalink
remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostFrankWu committed Sep 9, 2024
1 parent c2bfe0e commit a3c5363
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ def cas_login(sid, pwd):
if "Location" in req.headers.keys():
print(SUCCESS + "登录成功")
else:
for i in req.headers.keys():
print(f"{i} : {req.headers[i]}")
print(req.content)
print(ERROR + "用户名或密码错误,请检查")
return "", ""
req = requests.get(req.headers["Location"], allow_redirects=False, headers=head, verify=False)
Expand Down

0 comments on commit a3c5363

Please sign in to comment.