fix: wrong path update_readme.py
parent
9d7c53ce47
commit
137d00865e
|
@ -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)
|
total_second_level_subfolder_count += len(second_level_subfolders)
|
||||||
|
|
||||||
# Update the README.md file
|
# 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):
|
if os.path.isfile(readme_file):
|
||||||
with open(readme_file, 'r') as file:
|
with open(readme_file, 'r') as file:
|
||||||
content = file.read()
|
content = file.read()
|
||||||
|
|
Loading…
Reference in New Issue