summaryrefslogtreecommitdiff
path: root/tools/write-mime-multipart
diff options
context:
space:
mode:
Diffstat (limited to 'tools/write-mime-multipart')
-rwxr-xr-xtools/write-mime-multipart2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/write-mime-multipart b/tools/write-mime-multipart
index a6781876..b83073c1 100755
--- a/tools/write-mime-multipart
+++ b/tools/write-mime-multipart
@@ -96,7 +96,7 @@ def main():
ofile = file(options.output,"wb")
if options.compress:
- gfile = gzip.GzipFile(fileobj=ofile)
+ gfile = gzip.GzipFile(fileobj=ofile, filename = options.output )
gfile.write(outer.as_string())
gfile.close()
else: