From 058e58016bc7ed4db21bb7addd3cf6d3e8bfe6fb Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 29 Oct 2022 16:25:52 +0800
Subject: [PATCH] auto save

---
 diy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diy.py b/diy.py
index 30adf1c..df01cad 100644
--- a/diy.py
+++ b/diy.py
@@ -1,3 +1,3 @@
 # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
-with open(r'C:\Users\EDZ\Desktop\abd.txt','a',encoding='utf-8') as file:
+with open(r'C:\Users\EDZ\Desktop\abd.txt','r',encoding='utf-8') as file:
     file.write('asdf\n')
--
libgit2 0.25.0