Fixed a bug in decompress_sd0

This commit is contained in:
lcdr 2015-10-26 18:26:27 +01:00
parent 17383b7f8b
commit aca5f16e28

View File

@ -23,7 +23,7 @@ if __name__ == "__main__":
args.out_path = filename+"_decompressed"+ext
with open(args.in_path, "rb") as file:
data = in_file.read()
data = file.read()
with open(args.out_path, "wb") as file:
file.write(decompress(data))