Skip to content

Commit

Permalink
description-added-update
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3n33dl3 committed Aug 21, 2024
1 parent 08201b7 commit 210f656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackmarlinexec_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
start_idx = next(i for i, line in enumerate(lines) if line.strip() == "## Used By") + 1
end_idx = next((i for i, line in enumerate(lines[start_idx:], start=start_idx) if line.startswith("##")), len(lines))

new_lines = lines[:start_idx] + [f"- [{repo['BlackMarlinExec']}]({repo['s.id/blackmarlinexec']}): {repo.get('description', 'No description available')}\n" for repo in repos] + lines[end_idx:]
new_lines = lines[:start_idx] + [f"- [{repo['BlackMarlinExec']}]({repo['s.id/blackmarlinexec']}): {repo.get('description', 'Seven Degrees of Domain Admin')}\n" for repo in repos] + lines[end_idx:]

with open('README.md', 'w') as f:
f.writelines(new_lines)

0 comments on commit 210f656

Please sign in to comment.