diff --git a/publish.py b/publish.py index 0d53e44..805ea18 100644 --- a/publish.py +++ b/publish.py @@ -44,6 +44,7 @@ with open(settingsfile, "r", encoding="utf-8") as file: htmlhome = "

{}

{}

".format(index['title'], index['description']) gmihome = "# {}\n{}".format(index['title'], index['description']) +shutil.rmtree('out') os.makedirs("out/html", exist_ok=True) os.makedirs("out/gmi", exist_ok=True)