Remove site_dir when finished

This commit is contained in:
Jeffrey Serio 2024-08-11 08:07:18 -05:00
parent 3d82063356
commit 485e147207

1
afw.py
View File

@ -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}")