Skip to content

Commit

Permalink
fix for objecst with extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshawkes committed Aug 7, 2024
1 parent 5df77eb commit 6c9b772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polytope_server/frontend/common/data_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def process_download(self, request):
try:

# TODO: temporary fix for Content-Disposition earthkit issues
split = request.url.split(".")
split = request.url.split('/')[-1].split(".")
extension = None
if len(split) > 1:
extension = split[-1]
Expand Down

0 comments on commit 6c9b772

Please sign in to comment.