Skip to content

Commit

Permalink
Fix E231 flake8 error in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Dec 17, 2023
1 parent 6c25f50 commit 0cee855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/files/sources/invenio.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _get_download_file_url(self, record_id: str, filename: str, user_context: Op
# TODO: This is a temporary workaround for the fact that the "content" API
# does not support downloading files from S3 or other remote storage classes.
# More info: https://inveniordm.docs.cern.ch/reference/file_storage/#remote-files-r
download_file_content_url = f"{file_details_url.replace('/api','')}?download=1"
download_file_content_url = f"{file_details_url.replace('/api', '')}?download=1"
return download_file_content_url

def _is_api_url(self, url: str) -> bool:
Expand Down

0 comments on commit 0cee855

Please sign in to comment.