From d9ccbc571ca163353f0749005bc2da4ba0396cfb Mon Sep 17 00:00:00 2001 From: test Date: Mon, 28 Nov 2022 12:19:58 +0800 Subject: [PATCH] 1 --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index a41567c..00f7390 100644 --- a/run.py +++ b/run.py @@ -100,5 +100,5 @@ if __name__ == '__main__': traceback.print_exc() os.chdir(root_path) with open('README.md', 'w', encoding='utf8') as f: - f.write('# Goby POC统计\n| 文件类型 | 数量 |\n| :----:| :----: |\n| .go | {} |\n|\n| .json | {} |'.format( + f.write('# Goby POC统计\n| 文件类型 | 数量 |\n| :----:| :----: |\n| .go | {} |\n| .json | {} |'.format( len([file for file in os.listdir('go') if file.endswith('.go')]), len([file for file in os.listdir('json') if file.endswith('.json')])))