Deduplicates search results

This commit is contained in:
Mouse Reeve 2021-01-02 14:33:01 -08:00
parent 4c968c417b
commit afa1921968

View file

@ -36,7 +36,7 @@ class Connector(AbstractConnector):
or results
search_results = []
for book in results[:10]:
for book in set(results[:10]):
search_results.append(
self.format_search_result(book)
)