Commit c09a758d by BellCodeEditor

save project

parent 06d0c76f
Showing with 1 additions and 1 deletions
...@@ -24,7 +24,7 @@ def register(): # 注册验证 ...@@ -24,7 +24,7 @@ def register(): # 注册验证
elif password1 != password2: elif password1 != password2:
messagebox.showwarning("sb","你的海马体有问题") messagebox.showwarning("sb","你的海马体有问题")
else: else:
users[name]=pawssword1 users[name]=password1
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)
......
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