Commit 4313342d by BellCodeEditor

save project

parent 968faaf9
Showing with 1 additions and 1 deletions
...@@ -27,7 +27,7 @@ def register(): ...@@ -27,7 +27,7 @@ def register():
else:users[name]=json.dumps(users) else:users[name]=json.dumps(users)
content=json.dumps(users) content=json.dumps(users)
with open("user.txt","w",encoding="utf-8") as file: with open("user.txt","w",encoding="utf-8") as file:
file.write(content) file.write(content)
messagebox.showinfo("成功","注册成功") messagebox.showinfo("成功","注册成功")
reg_to_login() reg_to_login()
def login(): # 登录验证 def login(): # 登录验证
......
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