From 28a429a3b93bc7e1dc9958d7a1091d787db6abee Mon Sep 17 00:00:00 2001 From: CodingCat Date: Mon, 19 Feb 2024 16:17:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3:=E5=90=8E=E7=9A=84=E5=8C=B9?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FindNew.py | 1 + 1 file changed, 1 insertion(+) diff --git a/FindNew.py b/FindNew.py index de0a5ac..cfc22e4 100644 --- a/FindNew.py +++ b/FindNew.py @@ -71,6 +71,7 @@ new_file = new_dir + year + '/' + month + '/' + f'{today}.md' projects_today = get_projects([today_file]) projects_old = get_projects(old_files) + # 找出今天新增的项目并将其写入到新的文件中 with open(new_file, 'w',encoding='utf-8') as file: file.write("## " + today + "\n")