Skip to content

Commit

Permalink
fix: use normpath with rasterio subdatasets paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Dec 15, 2023
1 parent 2087130 commit 18b44b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eodag_cube/api/product/drivers/sentinel2_l1c.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_data_address(self, eo_product, band):
lambda f: band_file_pattern.match(f),
subdataset.files,
):
return filename
return os.path.normpath(filename)
raise AddressNotFound
if product_location_scheme == "s3":
access_key, access_secret = eo_product.downloader_auth.authenticate()
Expand Down

0 comments on commit 18b44b4

Please sign in to comment.