Skip to content

Commit

Permalink
Add cleanup to local files
Browse files Browse the repository at this point in the history
  • Loading branch information
aditeyabaral committed Apr 16, 2024
1 parent 84303ea commit 3e5add6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def convert_readme_to_html():
html = gh_md_to_html.main("README_tmp.md").strip()
with open("README.html", "w") as f:
f.write(html)
os.remove("README_tmp.md")


@app.route("/")
Expand Down Expand Up @@ -81,4 +82,5 @@ def authenticate_interactive():

if __name__ == "__main__":
pesu_academy = PESUAcademy()
convert_readme_to_html()
app.run(host="0.0.0.0", port=5000)

0 comments on commit 3e5add6

Please sign in to comment.