last pbar output

This commit is contained in:
2024-06-28 21:35:33 +02:00
parent 095e8384a5
commit 4977492424

View File

@@ -140,6 +140,7 @@ def listfolder(folder: str, title: str):
if os.path.exists(os.path.join(folder, "index.html")):
os.remove(os.path.join(folder, "index.html"))
if not args.non_interactive:
pbar.desc = "Generating html files"
pbar.update(1)
@@ -161,6 +162,9 @@ def gettotal(folder):
pbar.update(1)
if item not in notlist:
gettotal(os.path.join(folder, item))
if not args.non_interactive:
pbar.desc = "Traversing filesystem"
pbar.update(0)
def main():