Fixed bug where hash was calculated using the wrong variable (#235)

This commit is contained in:
ripose-jp 2021-02-26 21:16:39 -08:00 committed by GitHub
parent 421ca35c09
commit aaf6b3a55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -502,7 +502,7 @@ class AnkiConnect:
skip = False
else:
m = hashlib.md5()
m.update(data)
m.update(mediaData)
skip = skipHash == m.hexdigest()
if skip: