From f5f7715a79f6012e29593e6410732ece74618cd5 Mon Sep 17 00:00:00 2001 From: Ryo Kanbayashi Date: Tue, 22 Oct 2024 12:59:36 +0900 Subject: [PATCH] fixed bug of progress print. --- tagging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagging.py b/tagging.py index fef8b13..289d796 100644 --- a/tagging.py +++ b/tagging.py @@ -249,7 +249,7 @@ def process_directory(self, directory: str) -> None: cnt += 1 - if last_cnt - cnt >= 100: + if cnt - last_cnt >= 100: now: float = time.perf_counter() print(f'{cnt} files processed') diff: float = now - start