Skip to content

Commit d2e8f94

Browse files
author
Obada Haddad
committed
Fixed potential botocore problem with use_ssl state
1 parent cbbf0cb commit d2e8f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def setup_celery_logging(**kwargs):
392392
"access_key": os.environ.get('AWS_ACCESS_KEY_ID'),
393393
"secret_key": os.environ.get('AWS_SECRET_ACCESS_KEY'),
394394
"endpoint_url": os.environ.get('AWS_S3_ENDPOINT_URL'),
395-
"use_ssl": os.environ.get('S3_USE_SIGV4'),
395+
"use_ssl": os.environ.get('S3_USE_SIGV4', 'true').lower() == 'true',
396396
"querystring_auth": os.environ.get('AWS_QUERYSTRING_AUTH'),
397397
"default_acl": os.environ.get('AWS_DEFAULT_ACL'),
398398
},

0 commit comments

Comments
 (0)