Commit 35b746af by BellCodeEditor

save project

parent 330cfe69
Showing with 1 additions and 1 deletions
...@@ -41,7 +41,7 @@ def register(): # 注册验证 ...@@ -41,7 +41,7 @@ def register(): # 注册验证
def login(): def login():
global app,alist # 登录验证 global app,alist # 登录验证
name, password = app_login.get_input() name, password = app_login.get_input()
pwd = users.get(name) user_name = users.get(name)
if user_name != None and user_name["password"] == password: if user_name != None and user_name["password"] == password:
alist = users[name]["event"] alist = users[name]["event"]
app_login.root.destroy() app_login.root.destroy()
......
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