mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
changed spacing
This commit is contained in:
@@ -260,16 +260,16 @@ def main():
|
|||||||
print("Generating thumbnails...")
|
print("Generating thumbnails...")
|
||||||
p.map(thumbnail_convert, thumbnails)
|
p.map(thumbnail_convert, thumbnails)
|
||||||
else:
|
else:
|
||||||
pbar = tqdm(desc="Traversing filesystem", unit="folders")
|
pbar = tqdm(desc="Traversing filesystem", unit=" folders")
|
||||||
gettotal(args.root)
|
gettotal(args.root)
|
||||||
pbar.close()
|
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)
|
listfolder(args.root, _ROOTTITLE)
|
||||||
pbar.close()
|
pbar.close()
|
||||||
|
|
||||||
with Pool(os.cpu_count()) as p:
|
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"):
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user