Skip to content

Commit

Permalink
fix: if
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Nov 29, 2024
1 parent 52bd4ea commit c7ce580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def load_db_config(S3_APP_BUCKET, S3_APP_KEY):
S3_PREFIX = os.getenv("aws_s3_app_folder")
# AWS_REGION = os.getenv("aws_region")


DATABASES = load_db_config(S3_BUCKET, S3_PREFIX)
if S3_BUCKET and S3_PREFIX:
DATABASES = load_db_config(S3_BUCKET, S3_PREFIX)

# DATABASES = {
# "default": {
Expand Down

0 comments on commit c7ce580

Please sign in to comment.