From 137d00865e1ac659318e004cbced6a57d3692ff0 Mon Sep 17 00:00:00 2001 From: daffainfo Date: Mon, 15 Jan 2024 16:19:51 +0700 Subject: [PATCH] fix: wrong path update_readme.py --- .github/scripts/update_readme.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/update_readme.py b/.github/scripts/update_readme.py index 0f68bad..bae69e0 100644 --- a/.github/scripts/update_readme.py +++ b/.github/scripts/update_readme.py @@ -14,7 +14,8 @@ if os.path.exists(folder_path) and os.path.isdir(folder_path): total_second_level_subfolder_count += len(second_level_subfolders) # Update the README.md file - readme_file = os.path.join(folder_path, "README.md") + readme_file = os.path.join(".", "README.md") + print(readme_file) if os.path.isfile(readme_file): with open(readme_file, 'r') as file: content = file.read()