mirror of
https://codeberg.org/hyperreal/archive-fandom-wiki
synced 2024-11-25 09:33:41 +01:00
Remove site_dir when finished
This commit is contained in:
parent
3d82063356
commit
485e147207
1
afw.py
1
afw.py
@ -243,6 +243,7 @@ class FandomWiki:
|
|||||||
root_dir=self.archive_rootdir,
|
root_dir=self.archive_rootdir,
|
||||||
base_dir=self.canonical_name,
|
base_dir=self.canonical_name,
|
||||||
)
|
)
|
||||||
|
shutil.rmtree(self.site_dir)
|
||||||
|
|
||||||
console.log(f"\nTotal web files archived: {total_web_files}")
|
console.log(f"\nTotal web files archived: {total_web_files}")
|
||||||
console.log(f"Total images archived: {total_image_files}")
|
console.log(f"Total images archived: {total_image_files}")
|
||||||
|
Loading…
Reference in New Issue
Block a user