Fixed bug where hash was calculated using the wrong variable (#235)
This commit is contained in:
parent
421ca35c09
commit
aaf6b3a55b
@ -502,7 +502,7 @@ class AnkiConnect:
|
|||||||
skip = False
|
skip = False
|
||||||
else:
|
else:
|
||||||
m = hashlib.md5()
|
m = hashlib.md5()
|
||||||
m.update(data)
|
m.update(mediaData)
|
||||||
skip = skipHash == m.hexdigest()
|
skip = skipHash == m.hexdigest()
|
||||||
|
|
||||||
if skip:
|
if skip:
|
||||||
|
Loading…
Reference in New Issue
Block a user