non interactive

This commit is contained in:
2024-07-08 13:14:03 +02:00
committed by Flo Greistorfer
parent e8bf9ab6b4
commit 300b25e6bc

View File

@@ -193,6 +193,7 @@ def list_folder(folder: str, title: str) -> None:
with open(os.path.join(folder, item), encoding="utf-8") as f: with open(os.path.join(folder, item), encoding="utf-8") as f:
_info = f.read() _info = f.read()
info[urllib.parse.quote(folder)] = _info info[urllib.parse.quote(folder)] = _info
if not args.non_interactive_mode:
imgpbar.update(1) imgpbar.update(1)
imgpbar.close() imgpbar.close()
if not contains_files and not args.use_fancy_folders: if not contains_files and not args.use_fancy_folders: