Skip to content

Commit

Permalink
import s3 credentials from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed May 2, 2024
1 parent 61f7ef7 commit 729ed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alyx/misc/management/commands/one_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _s3_filesystem(**kwargs) -> pa.fs.S3FileSystem:
:return: A FileSystem object with the given credentials
"""
try:
from alyx.settings_secret import S3_ACCESS
from alyx.settings import S3_ACCESS
except ImportError:
S3_ACCESS = {}
S3_ACCESS.update(kwargs)
Expand Down

0 comments on commit 729ed79

Please sign in to comment.