From 880bf33c0a3a69918bb1fadd5969d6ac5a2c0ba0 Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 5 Nov 2022 03:19:46 -0400 Subject: refactor: Updated maintainers --- scripts/maintainers.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/maintainers.py b/scripts/maintainers.py index 2ab3b0f..b4111b2 100644 --- a/scripts/maintainers.py +++ b/scripts/maintainers.py @@ -36,11 +36,8 @@ def main(): image_url = "https://github.com/{}.png?size=40".format(maintainer['github']) maintainer_images += "![{}]({}) ".format(maintainer['name'], image_url) - # Remove everything below "" in the README.md file - readme = readme.split("")[0] - - # Add the list of maintainers to the README.md file - readme += "\r" + maintainers_list + "\r" + maintainer_images + # Replace "" in the README.md file + readme = readme.replace("", "\r" + maintainers_list + "\r" + maintainer_images) # Save the README.md file with open('README.md', 'w') as f: -- cgit v1.2.3