1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-17 04:39:01 +00:00

Fix typo in engine.py

This commit is contained in:
Andrew Senetar 2022-07-07 19:06:35 -05:00
parent d369bcddd7
commit 97f490b8b7
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1

View File

@ -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))