From 485e147207f52cb5f49d63a5b738d97091d7a653 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Sun, 11 Aug 2024 08:07:18 -0500 Subject: [PATCH] Remove site_dir when finished --- afw.py | 1 + 1 file changed, 1 insertion(+) diff --git a/afw.py b/afw.py index c04f11f..185bb20 100755 --- a/afw.py +++ b/afw.py @@ -243,6 +243,7 @@ class FandomWiki: root_dir=self.archive_rootdir, base_dir=self.canonical_name, ) + shutil.rmtree(self.site_dir) console.log(f"\nTotal web files archived: {total_web_files}") console.log(f"Total images archived: {total_image_files}")