forked from mirrors/bookwyrm
Removes change to boolean logic
This commit is contained in:
parent
07446fa7d2
commit
d3e4c7e8d9
1 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,9 @@ class Connector(AbstractConnector):
|
|||
|
||||
def parse_isbn_search_data(self, data):
|
||||
"""got some daaaata"""
|
||||
results = data.get("entities", [])
|
||||
results = data.get("entities")
|
||||
if not results:
|
||||
return []
|
||||
return list(results.values())
|
||||
|
||||
def format_isbn_search_result(self, search_result):
|
||||
|
|
Loading…
Reference in a new issue