Add openlibrary selector to list
This commit is contained in:
parent
ba390dc3ad
commit
73ea44e532
3 changed files with 16 additions and 0 deletions
|
@ -14,6 +14,7 @@ from bookwyrm.importers import (
|
|||
LibrarythingImporter,
|
||||
GoodreadsImporter,
|
||||
StorygraphImporter,
|
||||
OpenLibraryImporter,
|
||||
)
|
||||
|
||||
# pylint: disable= no-self-use
|
||||
|
@ -49,6 +50,8 @@ class Import(View):
|
|||
importer = LibrarythingImporter()
|
||||
elif source == "Storygraph":
|
||||
importer = StorygraphImporter()
|
||||
elif source == "OpenLibrary":
|
||||
importer = OpenLibraryImporter()
|
||||
else:
|
||||
# Default : Goodreads
|
||||
importer = GoodreadsImporter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue