Commit b34e1a6d by BellCodeEditor

save project

parent 35166b73
Showing with 3 additions and 3 deletions
......@@ -29,7 +29,7 @@ def register(): # 注册验证
users[name] = password1
content = json.dumps(users)
with open('user.txt','w',encoding='utf-8') as f:
file.write(content)
f.write(content)
messagebox.showinfo('成功','夕阳西下')
reg_to_login()
......
{"admin": "123456"}
\ No newline at end of file
{"admin": 1243456, "q": "111"}
\ No newline at end of file
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