Skip to content

Commit

Permalink
Fix argument naming in get_storage_class
Browse files Browse the repository at this point in the history
  • Loading branch information
Radim Sückr committed Oct 11, 2019
1 parent c61b4d6 commit fe915ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chamber/storages/boto3.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def force_bytes_content(content, blocksize=1024):


def get_storage_class(s3_storage_class, default_storage_class=DefaultStorage):
return storage_class if settings.AWS_S3_ON else default_storage_class
return s3_storage_class if settings.AWS_S3_ON else default_storage_class


def get_storage_instance(s3_storage_class, default_storage_class=DefaultStorage):
Expand Down

0 comments on commit fe915ac

Please sign in to comment.