Skip to content

Commit

Permalink
Merge pull request internetarchive#4865 from internetarchive/Fix-inde…
Browse files Browse the repository at this point in the history
…ntation-error-in-lending.py

openlibrary/core/lending.py: Fix indentation error
  • Loading branch information
mekarpeles committed Mar 19, 2021
2 parents 402eb2a + b5835c8 commit 59e432f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/core/lending.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_groundtruth_availability(ocaid, s3_keys=None):
including 1-hour borrows"""
params = '?action=availability&identifier=' + ocaid
url = S3_LOAN_URL % config_bookreader_host
try:
try:
response = requests.post(url + params, data=s3_keys)
response.raise_for_status()
except requests.HTTPError:
Expand Down

0 comments on commit 59e432f

Please sign in to comment.