diff --git a/django_distill/backends/amazon_s3.py b/django_distill/backends/amazon_s3.py index d26ed14..7e56015 100644 --- a/django_distill/backends/amazon_s3.py +++ b/django_distill/backends/amazon_s3.py @@ -34,7 +34,7 @@ def account_container(self): def authenticate(self, calling_format=None): access_key_id = self.account_username() secret_access_key = self.options.get('SECRET_ACCESS_KEY', '') - endpoint_url = self.options.get('ENDPOINT_URL', '') + endpoint_url = self.options.get('ENDPOINT_URL', None) bucket = self.account_container() if access_key_id and secret_access_key: self.d['connection'] = boto3.client('s3', aws_access_key_id=access_key_id,