1
0
Fork 0

Merge pull request #2093 from Ryuno-Ki/calibre-import

Calibre import. Fixes #627
This commit is contained in:
Mouse Reeve 2022-05-23 12:37:50 -07:00 committed by GitHub
commit 1843959d10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 152 additions and 15 deletions

View file

@ -11,6 +11,7 @@ from django.views import View
from bookwyrm import forms, models
from bookwyrm.importers import (
CalibreImporter,
LibrarythingImporter,
GoodreadsImporter,
StorygraphImporter,
@ -52,6 +53,8 @@ class Import(View):
importer = StorygraphImporter()
elif source == "OpenLibrary":
importer = OpenLibraryImporter()
elif source == "Calibre":
importer = CalibreImporter()
else:
# Default : Goodreads
importer = GoodreadsImporter()