ec20: Alignment is just 16bit.. needed for userdata.diff handling

This commit is contained in:
Holger Hans Peter Freyther 2016-12-11 22:54:15 +01:00
parent fbd4dad04f
commit c5b91afaa9
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ print("Guessing CRC to match {} {}".format(
crc32.calculate(blen+chunk1)))
# read padding
if len(chunk1) % 4 > 0:
if len(chunk1) % 4 > 2:
rstr.read(4 - (len(chunk1) % 4))
# Parse the trailer