Skip to content

Commit

Permalink
fix counter
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Dec 10, 2024
1 parent 593bba3 commit 6c084ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def handle(self, *args: Any, **options: Any) -> None:
should_write_identity_document = True
trait_data["trait_value"] = ""

scanned_count += 1

if should_write_identity_document:
identity_wrapper.put_item(identity_document)
self.stdout.write(
Expand All @@ -41,7 +43,6 @@ def handle(self, *args: Any, **options: Any) -> None:
f"id={identity_document['identity_uuid']}",
)

scanned_count += 1
if not (scanned_count % LOG_COUNT_EVERY):
self.stdout.write(
f"scanned={scanned_count}/{total_count}"
Expand Down

0 comments on commit 6c084ed

Please sign in to comment.