Commit 2d9ba145 by BellCodeEditor

auto save

parent a93f300b
Showing with 5 additions and 3 deletions
......@@ -106,9 +106,9 @@ def register(): # 注册验证
def login(): # 登录验证
global app,alist
name, password = app_login.get_input()
users_name = users.get(name)
if users_name!=None and users_name["password"]==password:
alist=users[name]["event"]
pwd = users.get(name)
if pwd == password:
alist = users[name]["event"]
app_login.root.destroy()
app = Note()
app.show()
......
{"admin": "admin", "python": "123456", "dfefdvdfvdf": "123456", "\u6211": "123456", "a": {"password": "12", "event": ["\u63d0\u793a\u4e00", "\u63d0\u793a\u4e8c"]}}
\ 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