Skip to content

Commit

Permalink
fix scan results check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-samoylenko committed Dec 10, 2024
1 parent a40c811 commit c83ca0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/block_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __call__(self):
f"Block chunk {blocks.start} - {blocks.stop - 1} processed for {time.time() - start_time} seconds"
)

if all(results):
if results and all(results):
logger.debug(
f"Commiting chunk {blocks.start} - {blocks.stop - 1}"
)
Expand Down

0 comments on commit c83ca0f

Please sign in to comment.