parent
a307ff350c
commit
b94c72ea7f
|
@ -61,7 +61,7 @@ class ApkDiff:
|
||||||
sourceChunk = sourceFile.read(1024)
|
sourceChunk = sourceFile.read(1024)
|
||||||
destinationChunk = destinationFile.read(1024)
|
destinationChunk = destinationFile.read(1024)
|
||||||
|
|
||||||
while sourceChunk != "" and destinationChunk != "":
|
while sourceChunk != "" or destinationChunk != "":
|
||||||
if sourceChunk != destinationChunk:
|
if sourceChunk != destinationChunk:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue