mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-30 05:21:08 +00:00
Use a default shelf because Calibre indicates no reading status
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
3626db3c1a
commit
eeb1cc7197
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,10 @@ from . import Importer
|
||||||
|
|
||||||
|
|
||||||
class CalibreImporter(Importer):
|
class CalibreImporter(Importer):
|
||||||
"""csv downloads from OpenLibrary"""
|
"""csv downloads from Calibre"""
|
||||||
|
|
||||||
service = "Calibre"
|
service = "Calibre"
|
||||||
|
|
||||||
|
def get_shelf(self, normalized_row):
|
||||||
|
# Calibre export does not indicate which shelf to use. Go with a default one for now
|
||||||
|
return "to-read"
|
||||||
|
|
Loading…
Reference in a new issue