mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Argh, need to seek after a failed decompress!
This commit is contained in:
parent
4654a1930f
commit
b5302d32ba
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class GARCEntry(object):
|
||||||
# TODO this sucks, remove it i guess
|
# TODO this sucks, remove it i guess
|
||||||
decompressor.peek(2088)
|
decompressor.peek(2088)
|
||||||
except DecompressionError:
|
except DecompressionError:
|
||||||
|
ss.seek(0)
|
||||||
return ss
|
return ss
|
||||||
else:
|
else:
|
||||||
return decompressor
|
return decompressor
|
||||||
|
|
Loading…
Reference in a new issue