Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
dilpath committed Apr 17, 2024
1 parent 0825071 commit ecd08e7
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions scripts/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,19 @@ def main(
if update_readme:
with open(readme_md, "r") as f:
readme_content = f.read()
before_table = readme_content.split(start_overview_table)[0]
after_table = readme_content.split(end_overview_table)[1]
new_readme_content = (
before_table
+ start_overview_table
+ markdown_overview
+ end_overview_table
+ after_table
)
before_table = readme_content.split(start_overview_table)[0]
after_table = readme_content.split(end_overview_table)[1]
new_readme_content = (
before_table
+ start_overview_table
+ markdown_overview
+ end_overview_table
+ after_table
)
with open(readme_md, "w") as f:
f.write(new_readme_content)
else:
print(markdown_overview)

else:
print(df)

Expand Down

0 comments on commit ecd08e7

Please sign in to comment.