Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent db383d9 commit be1ab85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dc_tools/odc/apps/dc_tools/_stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"sentinel_s2_l2a_cogs",
"sentinel-s2-l2a-cogs",
"sentinel-2-l2a",
"s2_l2a_c1"
"s2_l2a_c1",
]

# Mapping between EO3 field names and STAC properties object field names
Expand Down Expand Up @@ -190,7 +190,7 @@ def _get_relative_path(asset_href, self_link):
# files are not stored in same domain (e.g. diferent buckets)
# therefore use the absolute path
return asset_href

self_path = urlparse(self_link).path
href_path = urlparse(asset_href).path

Expand Down

0 comments on commit be1ab85

Please sign in to comment.