Commit d36b7f53 by BellCodeEditor

save project

parent 4c5556be
Showing with 1 additions and 1 deletions
......@@ -50,7 +50,7 @@ class Note(): # 便签、笔记
info = self.ent.get()
self.ent.delete("0", END)
if info != "":
zalist.append(info)
alist.append(info)
content = json.dumps(users)
with open("user.txt", "w", encoding="utf-8") as file: # "w"每次写入都覆盖原来的内容
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