From 347d9fc45135131e2540849ea96efa074a2573bd Mon Sep 17 00:00:00 2001 From: Firq Date: Mon, 14 Oct 2024 22:43:24 +0200 Subject: [PATCH] Updated tqdm logging --- atlasimagecomposer/backend/compose.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atlasimagecomposer/backend/compose.py b/atlasimagecomposer/backend/compose.py index 10329eb..c06f427 100644 --- a/atlasimagecomposer/backend/compose.py +++ b/atlasimagecomposer/backend/compose.py @@ -67,7 +67,7 @@ def process_sprite(images_folder: pathlib.Path, configdata: SpritesheetData, out if i.name == "0.png": initial_row = rowcount - 1 - for x, y in tqdm_itertools.product(range(initial_row, rowcount), range(0, colcount), ascii="-="): + for x, y in tqdm_itertools.product(range(initial_row, rowcount), range(0, colcount), ascii="-=", desc=f"[PROG] [{Logging.NAME}]"): img = generate_sprite(main_sprite, expressions, x, y, configdata) if img is not None: image_idx = save_sprite(img, outputfolder, f"{images_folder.stem}", image_idx) diff --git a/pyproject.toml b/pyproject.toml index a1084ed..a8a7b0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "atlasimagecomposer" -version = "0.1.0-c.4" +version = "0.1.0-c.5" requires-python = ">= 3.10" authors = [{name = "Firq", email = "firelp42@gmail.com"}] maintainers = [{name = "Firq", email = "firelp42@gmail.com"}]