[Checkins] SVN: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/cli.py minor fix
Andreas Jung
andreas at andreas-jung.com
Sun Jul 5 11:34:05 EDT 2009
Log message for revision 101590:
minor fix
Changed:
U zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/cli.py
-=-
Modified: zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/cli.py
===================================================================
--- zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/cli.py 2009-07-05 15:33:41 UTC (rev 101589)
+++ zopyx.smartprintng.server/trunk/zopyx/smartprintng/server/cli.py 2009-07-05 15:34:05 UTC (rev 101590)
@@ -56,7 +56,7 @@
# Generate result ZIP archive with base64-encoded result
zip_out = os.path.join(tempdir, 'output.zip')
ZF = zipfile.ZipFile(zip_out, 'w')
- ZF.writestr('output.%s' % ext, file(result, 'rb').read())
+ ZF.writestr('output%s' % ext, file(result, 'rb').read())
ZF.close()
encoded_result = base64.encodestring(file(zip_out, 'rb').read())
shutil.rmtree(tempdir)
More information about the Checkins
mailing list