From b5302d32ba5b80361f828879affaf1226f9d8fcc Mon Sep 17 00:00:00 2001 From: "Eevee (Lexy Munroe)" Date: Sat, 17 Jun 2017 21:36:12 -0700 Subject: [PATCH] Argh, need to seek after a failed decompress! --- pokedex/extract/lib/garc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pokedex/extract/lib/garc.py b/pokedex/extract/lib/garc.py index aa7ea8c..bf8c0ae 100644 --- a/pokedex/extract/lib/garc.py +++ b/pokedex/extract/lib/garc.py @@ -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