Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
ead94a73
Commit
ead94a73
authored
Feb 16, 2021
by
Paul J Stevens
Committed by
Diederik van der Boor
May 17, 2021
Browse files
fix another typo
parent
addee10b
Changes
1
Hide whitespace changes
Inline
Side-by-side
private_storage/storage/s3boto3.py
View file @
ead94a73
...
...
@@ -44,7 +44,7 @@ class PrivateS3BotoStorage(S3Boto3Storage):
# are now part of the initialization or moved to a dictionary
self
.
access_key
=
setting
(
'AWS_PRIVATE_S3_ACCESS_KEY_ID'
,
setting
(
'AWS_PRIVATE_ACCESS_KEY_ID'
,
self
.
access_key
))
self
.
secret_key
=
setting
(
'AWS_PRIVATE_S3_SECRET_ACCESS_KEY'
,
setting
(
'AWS_PRIVATE_SECRET_ACCESS_KEY'
,
self
.
secret_key
))
if
hasattr
(
self
,
get_default_settings
):
if
hasattr
(
self
,
"
get_default_settings
"
):
default_settings
=
self
.
get_default_settings
()
self
.
gzip
=
setting
(
'AWS_PRIVATE_IS_GZIPPED'
,
default_settings
[
"gzip"
])
# fallback to default
self
.
url_protocol
=
setting
(
'AWS_PRIVATE_S3_URL_PROTOCOL'
,
default_settings
[
"url_protocol"
])
# fallback to default
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment