removed close?

This commit is contained in:
2024-07-08 13:41:45 +02:00
committed by Flo Greistorfer
parent 8aa6ef99ba
commit 5439504499

View File

@@ -193,7 +193,6 @@ def list_folder(folder: str, title: str) -> None:
if not args.non_interactive_mode: if not args.non_interactive_mode:
imgpbar.update(1) imgpbar.update(1)
pbar.update(0) pbar.update(0)
imgpbar.close()
if not contains_files and not args.use_fancy_folders: if not contains_files and not args.use_fancy_folders:
return return
if images or (args.use_fancy_folders and not contains_files) or (args.use_fancy_folders and args.ignore_other_files): if images or (args.use_fancy_folders and not contains_files) or (args.use_fancy_folders and args.ignore_other_files):