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 Dec 14, 2024
1 parent 65a0299 commit 0e6f3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo2docker/contentproviders/doi.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def doi2url(self, doi):
# default Git provider as this leads to a misleading error.
self.log.error(f"DOI {doi} does not resolve: {e}")
raise
return resp.headers['Location']
return resp.headers["Location"]
else:
# Just return what is actulally just a URL
return doi
Expand Down

0 comments on commit 0e6f3b8

Please sign in to comment.