Skip to content

Commit

Permalink
fix: set S3_DOWNLOAD_ROOT if empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 27, 2023
1 parent 52d7f41 commit 02731cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def configure_s3_download_root(cls, v: Optional[str], info: ValidationInfo) -> s
service name for S3_ENDPOINT instead.
"""
# If set manually, pass through
if isinstance(v, str):
if isinstance(v, str) and v != "":
return v
# For dev setup
dev_port = info.data.get("FMTM_DEV_PORT")
Expand Down

0 comments on commit 02731cb

Please sign in to comment.