Skip to content

Commit

Permalink
修复输入密码的逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMastrenet authored and Samueli924 committed Sep 16, 2023
1 parent c67e522 commit 3f33a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def load_users(hide):
usernm = input("请输入手机号")
if hide:
sec_user = "%s****%s"%(usernm[:3],usernm[7:])
passwd = passwd = maskpass.askpass(prompt="请输入密码(已自动隐藏)", mask="#")
passwd = maskpass.askpass(prompt="请输入密码(已自动隐藏)", mask="#")
else:
sec_user = usernm
passwd = input("请输入密码")
Expand Down

0 comments on commit 3f33a21

Please sign in to comment.