Use a default shelf because Calibre indicates no reading status

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
André Jaenisch 2022-04-30 19:08:31 +02:00
parent 3626db3c1a
commit eeb1cc7197
No known key found for this signature in database
GPG key ID: 5A668E771F1ED854

View file

@ -3,6 +3,10 @@ from . import Importer
class CalibreImporter(Importer):
"""csv downloads from OpenLibrary"""
"""csv downloads from 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"