Skip to content

Commit

Permalink
Removed test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Illidanz committed Jan 24, 2025
1 parent e0e2495 commit c0e0f1e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hacktools/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ def repack(fin, f, archive, infolder):
with common.Stream(filepath, "rb") as subf:
filedata = subf.read()
compdata = compress(filedata)
# For testing
uncompdata = decompress(compdata, subfile.declength)
if uncompdata != filedata:
common.logError("Error", subfile.name)
f.writeUInt(len(compdata))
f.writeUInt(size)
f.writeUInt(dataoff)
Expand Down

0 comments on commit c0e0f1e

Please sign in to comment.