mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-25 00:10:40 +00:00
eeb1cc7197
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
13 lines
322 B
Python
13 lines
322 B
Python
""" 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"
|