Skip to content

Commit

Permalink
fix: inverted logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Nastaliss committed Oct 13, 2023
1 parent 1606ef4 commit 74d29d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@
S3_SECRET_KEY: str = os.environ["S3_SECRET_KEY"]
S3_REGION: str = os.environ["S3_REGION"]
S3_ENDPOINT_URL: str = os.environ["S3_ENDPOINT_URL"]
S3_USE_PROXY: bool = os.environ.get("S3_USE_PROXY", "").lower() != "false"
S3_PROXY_URL: Union[str, None] = os.environ["S3_PROXY_URL"] if S3_USE_PROXY else None
S3_USE_PROXY: bool = os.environ.get("S3_USE_PROXY", "false").lower() != "false"
S3_PROXY_URL: Union[str,
None] = os.environ["S3_PROXY_URL"] if S3_USE_PROXY else None
DUMMY_BUCKET_FILE = (
"https://ec.europa.eu/jrc/sites/jrcsh/files/styles/normal-responsive/"
"public/growing-risk-future-wildfires_adobestock_199370851.jpeg"
Expand Down

0 comments on commit 74d29d8

Please sign in to comment.