diff --git a/apps/dc_tools/odc/apps/dc_tools/_stac.py b/apps/dc_tools/odc/apps/dc_tools/_stac.py index d4df3a30..ad937563 100644 --- a/apps/dc_tools/odc/apps/dc_tools/_stac.py +++ b/apps/dc_tools/odc/apps/dc_tools/_stac.py @@ -189,7 +189,7 @@ def _get_relative_path(asset_href, self_link): self_parts = urlparse(self_link) href_parts = urlparse(asset_href) - if self_parts.netloc.split('.')[0] != href_parts.netloc.split('.')[0]: + if self_parts.netloc.split(".")[0] != href_parts.netloc.split(".")[0]: # files are not stored with same hostname (e.g. different buckets) # therefore use the absolute path return asset_href