aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluebear94 <[email protected]>2016-07-23 13:23:52 -0400
committerbluebear94 <[email protected]>2016-07-23 13:23:52 -0400
commit83c7845dacf943521d65b197da2d26bc3a29858d (patch)
tree25bea037fd3f18638cf8af8821d8e6ae64a7db77
parentInitial commit (diff)
downloadkiwad-repacker-83c7845dacf943521d65b197da2d26bc3a29858d.tar.xz
kiwad-repacker-83c7845dacf943521d65b197da2d26bc3a29858d.zip
Initial commit
-rw-r--r--repack.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/repack.py b/repack.py
index e4d7116..4ca8e15 100644
--- a/repack.py
+++ b/repack.py
@@ -108,8 +108,10 @@ for e in entries:
out.write(e["name"].encode())
writeByte(out, 0)
offset += netSize
- print("> Wrote ENTRY for %s" % e["name"])
+ if args.verbose:
+ print("> Wrote ENTRY for %s" % e["name"])
# Write file DATA
for e in entries:
out.write(e["compressedContents"] if e["isCompressed"] else e["contents"])
- print("> Wrote DATA for %s" % e["name"])
+ if args.verbose:
+ print("> Wrote DATA for %s" % e["name"])