From 4cd87ccb34aa971e6ad036cda92dd7dabe86c87d Mon Sep 17 00:00:00 2001 From: Flo Greistorfer Date: Thu, 27 Jun 2024 10:25:59 +0200 Subject: [PATCH] changed spacing --- generate_html.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generate_html.py b/generate_html.py index 00b00ca..ea5654e 100755 --- a/generate_html.py +++ b/generate_html.py @@ -260,16 +260,16 @@ def main(): print("Generating thumbnails...") p.map(thumbnail_convert, thumbnails) else: - pbar = tqdm(desc="Traversing filesystem", unit="folders") + pbar = tqdm(desc="Traversing filesystem", unit=" folders") gettotal(args.root) pbar.close() - pbar = tqdm(total=total + 1, desc="Generating html files", unit="files") + pbar = tqdm(total=total + 1, desc="Generating html files", unit=" files") listfolder(args.root, _ROOTTITLE) pbar.close() with Pool(os.cpu_count()) as p: - for r in tqdm(p.imap_unordered(thumbnail_convert, thumbnails), total=len(thumbnails), desc="Generating thumbnails", unit="files"): + for r in tqdm(p.imap_unordered(thumbnail_convert, thumbnails), total=len(thumbnails), desc="Generating thumbnails", unit=" files"): ...