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 Jun 15, 2024
1 parent 5c72537 commit ae1370c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openlibrary/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ def is_in_private_collection(self):

def in_borrowable_collection(self):
collections = self.get_ia_collections()
return (
'inlibrary' in collections
) and not self.is_in_private_collection()
return ('inlibrary' in collections) and not self.is_in_private_collection()

def get_waitinglist(self):
"""Returns list of records for all users currently waiting for this book."""
Expand Down

0 comments on commit ae1370c

Please sign in to comment.