Skip to content

Commit

Permalink
Fix metadata preservation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bladrak committed Jan 20, 2016
1 parent 20de8b5 commit cf418fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='tc_aws',
version='2.1.0',
version='2.1.1',
description='Thumbor AWS extensions',
author='Thumbor-Community & William King',
author_email='willtrking@gmail.com',
Expand Down
2 changes: 1 addition & 1 deletion tc_aws/aws/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def set(self, bytes, abspath):
metadata = {}

if self.config_prefix is 'TC_AWS_RESULT_STORAGE' and self.context.config.get('TC_AWS_STORE_METADATA'):
metadata = self.context.headers
metadata = dict(self.context.headers)

self.storage.put(
abspath,
Expand Down
1 change: 1 addition & 0 deletions tc_aws/result_storages/s3_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from thumbor.utils import logger


class Storage(AwsStorage, BaseStorage):
"""
S3 Result Storage
Expand Down

0 comments on commit cf418fa

Please sign in to comment.