From 9690bfa3b1f112e7e2f1c41bda1fba22906296b8 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 18 Aug 2026 09:07:39 +0200 Subject: [PATCH] fix: remove output folder before starting --- publish.py | 1 + 1 file changed, 1 insertion(+) 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)