From 608af12b1d0c74b2e985dda2723a101c92a51f24 Mon Sep 17 00:00:00 2001 From: Kurt Neufeld Date: Fri, 3 Jun 2016 10:03:38 -0700 Subject: [PATCH] verified that ZIP_DEFLATED compresses the files The docs are a bit misleading but that's how I interpret them. --- src/wormhole/cli/cmd_send.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wormhole/cli/cmd_send.py b/src/wormhole/cli/cmd_send.py index 672afb1..1b7f3c2 100644 --- a/src/wormhole/cli/cmd_send.py +++ b/src/wormhole/cli/cmd_send.py @@ -197,7 +197,6 @@ class Sender: # We're sending a directory. Create a zipfile in a tempdir and # send that. fd_to_send = tempfile.SpooledTemporaryFile() - # TODO: I think ZIP_DEFLATED means compressed.. check it num_files = 0 num_bytes = 0 tostrip = len(what.split(os.sep))