Skip to content

Commit

Permalink
case issues?
Browse files Browse the repository at this point in the history
  • Loading branch information
asucrews authored Jul 5, 2024
1 parent 0c06624 commit 015b24a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/generate_automation_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def update_readme(blueprints, readme_path):
start_line = None
end_line = None
for i, line in enumerate(lines):
if line.strip() == "## Available Blueprints":
if line.strip().lower() == "## available blueprints":
start_line = i + 1 # Assume the list starts 1 line after the header
elif start_line and line.strip().startswith("## "):
end_line = i
Expand All @@ -72,8 +72,6 @@ def update_readme(blueprints, readme_path):
with open(readme_path, 'w') as file:
file.writelines(new_content)

print(new_content)

def main():
blueprints = get_blueprints(blueprint_directory, ignore_folder)
blueprints.sort(key=lambda x: x[0]) # Sort blueprints alphabetically
Expand Down

0 comments on commit 015b24a

Please sign in to comment.