Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #84 from richmahn/feature/fix-preconvert-zip-local…
Browse files Browse the repository at this point in the history
…-filename

Adds an extension to the local zip filename
  • Loading branch information
PhotoNomad0 committed Jun 5, 2017
2 parents a99a08b + 6cb7ef9 commit e66a54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def process_webhook(self):

# 3) Zip up the massaged files
# context.aws_request_id is a unique ID for this lambda call, so using it to not conflict with other requests
zip_filepath = tempfile.mktemp(dir=self.base_temp_dir)
zip_filepath = tempfile.mktemp(dir=self.base_temp_dir, suffix='.zip')
self.logger.debug('Zipping files from {0} to {1}...'.format(output_dir, zip_filepath))
add_contents_to_zip(zip_filepath, output_dir)
self.logger.debug('finished.')
Expand Down

0 comments on commit e66a54e

Please sign in to comment.