Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Jul 24, 2024
1 parent 34c6505 commit 4657acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eodash_catalog/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def add_visualization_info(
vmin = endpoint_config["Rescale"][0]
vmax = endpoint_config["Rescale"][1]
# depending on numerical input only
data_projection = endpoint_config.get("DataProjection", 3857)
data_projection = str(endpoint_config.get("DataProjection", 3857))
epsg_prefix = "" if "EPSG:" in data_projection else "EPSG:"
crs = f"{epsg_prefix}{data_projection}"
target_url = (
Expand Down

0 comments on commit 4657acd

Please sign in to comment.