mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
removed dynamic ncols
This commit is contained in:
@@ -263,12 +263,12 @@ def main():
|
|||||||
gettotal(args.root)
|
gettotal(args.root)
|
||||||
pbar.close()
|
pbar.close()
|
||||||
|
|
||||||
pbar = tqdm(total=total + 1, desc="Generating html files", unit=" files", ascii="#", dynamic_ncols=True)
|
pbar = tqdm(total=total + 1, desc="Generating html files", unit=" files", ascii="#")
|
||||||
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", ascii="#", dynamic_ncols=True):
|
for r in tqdm(p.imap_unordered(thumbnail_convert, thumbnails), total=len(thumbnails), desc="Generating thumbnails", unit=" files", ascii="#"):
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user