Fix apkdiff not checking entire files

This commit is contained in:
Jesse Smick 2020-01-06 23:22:05 -08:00 committed by GitHub
parent 31736964fa
commit 7fb9f0b856
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