Merge pull request #1545 from janka102/patch-1

Fix apkdiff not checking entire files
This commit is contained in:
DrKLO 2020-01-14 08:54:49 +03:00 committed by GitHub
commit 6a10354656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ def compareFiles(first, second):
if firstBytes != secondBytes: if firstBytes != secondBytes:
return False return False
if firstBytes != b"" or secondBytes != b"": if firstBytes == b"":
break break
return True return True