Skip to content

Commit

Permalink
Fix typo in engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenetar committed Jul 8, 2022
1 parent d369bcd commit 97f490b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def getmatches_by_contents(files, bigsize=0, j=job.nulljob):
if first.digest_samples == second.digest_samples and first.digest_samples is not None:
result.append(Match(first, second, 100))
else:
if first.digest == second.digest and first.digest_samples is not None:
if first.digest == second.digest and first.digest is not None:
result.append(Match(first, second, 100))
group_count += 1
j.add_progress(desc=PROGRESS_MESSAGE % (len(result), group_count))
Expand Down

0 comments on commit 97f490b

Please sign in to comment.