diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-12-11 22:54:15 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-12-11 22:54:15 +0100 |
commit | c5b91afaa9904e8708ef664f3204b4e94ea51a40 (patch) | |
tree | c377d74f7252854e5d14142053183731206d1380 | |
parent | fbd4dad04f1951874f10b71bdcb646cb74915665 (diff) |
ec20: Alignment is just 16bit.. needed for userdata.diff handling
-rw-r--r-- | update-ec20/dissect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ec20/dissect.py b/update-ec20/dissect.py index 4127ed7..8b3cba9 100644 --- a/update-ec20/dissect.py +++ b/update-ec20/dissect.py @@ -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 |