mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-06-07 16:28:54 +00:00
Run bw-dev black to fix formatting
Signed-off-by: Jacob Torrey <jacob@jacobtorrey.com>
This commit is contained in:
parent
f9c75a43ae
commit
84834eb5d3
2 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,6 @@ class AbstractMinimalConnector(ABC):
|
||||||
except aiohttp.ClientError as err:
|
except aiohttp.ClientError as err:
|
||||||
logger.info(err)
|
logger.info(err)
|
||||||
|
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_or_create_book(self, remote_id):
|
def get_or_create_book(self, remote_id):
|
||||||
"""pull up a book record by whatever means possible"""
|
"""pull up a book record by whatever means possible"""
|
||||||
|
|
|
@ -21,6 +21,7 @@ logger = logging.getLogger(__name__)
|
||||||
class ConnectorException(HTTPError):
|
class ConnectorException(HTTPError):
|
||||||
"""when the connector can't do what was asked"""
|
"""when the connector can't do what was asked"""
|
||||||
|
|
||||||
|
|
||||||
async def async_connector_search(query, items, min_confidence):
|
async def async_connector_search(query, items, min_confidence):
|
||||||
"""Try a number of requests simultaneously"""
|
"""Try a number of requests simultaneously"""
|
||||||
timeout = aiohttp.ClientTimeout(total=SEARCH_TIMEOUT)
|
timeout = aiohttp.ClientTimeout(total=SEARCH_TIMEOUT)
|
||||||
|
|
Loading…
Reference in a new issue