moved current folder

This commit is contained in:
2024-06-27 13:21:27 +02:00
committed by Flo Greistorfer
parent 608b908b40
commit c2f84693d5

View File

@@ -162,6 +162,7 @@ def thumbnail_convert(arguments: tuple[str, str]):
def listfolder(folder: str, title: str): def listfolder(folder: str, title: str):
pbar.desc = f"Generating html files - {folder}"
items: list[str] = os.listdir(folder) items: list[str] = os.listdir(folder)
items.sort() items.sort()
images: list[str] = [] images: list[str] = []
@@ -221,7 +222,6 @@ def listfolder(folder: str, title: str):
if os.path.exists(os.path.join(folder, "index.html")): if os.path.exists(os.path.join(folder, "index.html")):
os.remove(os.path.join(folder, "index.html")) os.remove(os.path.join(folder, "index.html"))
pbar.update(1) pbar.update(1)
pbar.desc = f"Generating html files - {folder}"
def gettotal(folder): def gettotal(folder):