Argh, need to seek after a failed decompress!

This commit is contained in:
Eevee (Lexy Munroe) 2017-06-17 21:36:12 -07:00
parent 4654a1930f
commit b5302d32ba

View file

@ -102,6 +102,7 @@ class GARCEntry(object):
# TODO this sucks, remove it i guess
decompressor.peek(2088)
except DecompressionError:
ss.seek(0)
return ss
else:
return decompressor