Skip to content

Commit

Permalink
fixed bug of progress print.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryogrid committed Oct 22, 2024
1 parent e879759 commit f5f7715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5f7715

Please sign in to comment.