Commit b0e7497b by BellCodeEditor

save project

parent 2a645266
Showing with 1 additions and 2 deletions
...@@ -25,7 +25,7 @@ def register(): # 注册验证 ...@@ -25,7 +25,7 @@ def register(): # 注册验证
elif name in users: elif name in users:
messagebox.showwarning('错误','you name may have had') messagebox.showwarning('错误','you name may have had')
elif password1 != password2: elif password1 != password2:
messagebox.showwarning('错误','you can not pass') messagebox.showwarning('错误','you the first password is dfferent of another password')
else: else:
users[name] = password1 users[name] = password1
content = json.dumps(users) content = json.dumps(users)
...@@ -33,7 +33,6 @@ def register(): # 注册验证 ...@@ -33,7 +33,6 @@ def register(): # 注册验证
file.write(content) file.write(content)
messagebox.showinfo('成功','you had passed') messagebox.showinfo('成功','you had passed')
def login(): # 登录验证 def login(): # 登录验证
pass pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment