diff options
| author | bluebear94 <[email protected]> | 2016-07-23 13:23:52 -0400 |
|---|---|---|
| committer | bluebear94 <[email protected]> | 2016-07-23 13:23:52 -0400 |
| commit | 83c7845dacf943521d65b197da2d26bc3a29858d (patch) | |
| tree | 25bea037fd3f18638cf8af8821d8e6ae64a7db77 | |
| parent | Initial commit (diff) | |
| download | kiwad-repacker-83c7845dacf943521d65b197da2d26bc3a29858d.tar.xz kiwad-repacker-83c7845dacf943521d65b197da2d26bc3a29858d.zip | |
Initial commit
| -rw-r--r-- | repack.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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"])
|