Don't show broken image previews when cover is absent
This commit is contained in:
parent
6d7b3e9ae7
commit
15790abc70
2 changed files with 6 additions and 2 deletions
|
@ -6,7 +6,7 @@ from .abstract_connector import AbstractMinimalConnector, SearchResult
|
|||
class Connector(AbstractMinimalConnector):
|
||||
"""this is basically just for search"""
|
||||
|
||||
def get_or_create_book(self, remote_id, work=None):
|
||||
def get_or_create_book(self, remote_id):
|
||||
return activitypub.resolve_remote_id(remote_id, model=models.Edition)
|
||||
|
||||
def parse_search_data(self, data):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue