bookwyrm/bookwyrm/importers/calibre_import.py

13 lines
322 B
Python
Raw Normal View History

""" handle reading a csv from calibre """
from . import Importer
class CalibreImporter(Importer):
"""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"