Bugfix: use 'append' method for extra byte.

This commit is contained in:
Elliot Nunn 2018-12-13 12:45:47 +08:00
parent 2f94e88cec
commit 7f14013fa3

View File

@ -143,7 +143,7 @@ def GreggDecompress(src, dst, unpackSize, tabSize, comprFlags):
pos += 1
if hasExtraByte: # have a got an extra byte at the end?
dst.expand(src[pos]) # copy it over
dst.append(src[pos]) # copy it over
pos += 1
#print("Last input position: %d" % pos)