1
0
mirror of synced 2025-02-20 20:50:59 +01:00

Check in fix for non-compressed files.

This commit is contained in:
Jennifer Taylor 2021-05-06 19:36:43 +00:00
parent 74e3160588
commit 5d26149298

View File

@ -295,7 +295,7 @@ class IFS:
lz77 = Lz77()
filedata = lz77.decompress(filedata[8:])
else:
raise Exception('Unrecognized compression!')
filedata = filedata[8:] + filedata[0:8]
if self.__decode_binxml and os.path.splitext(filename)[1] == '.xml':
benc = BinaryEncoding()