Skip to content

Commit

Permalink
use is_bool
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Nov 23, 2024
1 parent 776b5b7 commit 35e881e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/btrixcloud/storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _create_s3_storage(self, storage: dict[str, str]) -> S3Storage:
use_access_for_presign = False
else:
access_endpoint_url = storage.get("access_endpoint_url") or endpoint_url
use_access_for_presign = storage.get("use_access_for_presign", False)
use_access_for_presign = is_bool(storage.get("use_access_for_presign"))

return S3Storage(
access_key=storage["access_key"],
Expand Down

0 comments on commit 35e881e

Please sign in to comment.