Set connectors on books
This commit is contained in:
parent
1a33290267
commit
0c9aad730d
4 changed files with 6 additions and 4 deletions
|
@ -19,7 +19,7 @@ def get_or_create_book(key):
|
|||
|
||||
|
||||
def search(query):
|
||||
''' ya '''
|
||||
''' try an external datasource for books '''
|
||||
connector = get_connector()
|
||||
return connector.search(query)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue