Runs black
This commit is contained in:
parent
a07f955781
commit
70296e760b
198 changed files with 10239 additions and 8572 deletions
|
@ -1,13 +1,14 @@
|
|||
''' handle reading a csv from goodreads '''
|
||||
""" handle reading a csv from goodreads """
|
||||
from bookwyrm.importer import Importer
|
||||
|
||||
# GoodReads is the default importer, thus Importer follows its structure. For a more complete example of overriding see librarything_import.py
|
||||
# GoodReads is the default importer, thus Importer follows its structure. For a more complete example of overriding see librarything_import.py
|
||||
|
||||
|
||||
class GoodreadsImporter(Importer):
|
||||
service = 'GoodReads'
|
||||
service = "GoodReads"
|
||||
|
||||
def parse_fields(self, data):
|
||||
data.update({'import_source': self.service })
|
||||
data.update({"import_source": self.service})
|
||||
# add missing 'Date Started' field
|
||||
data.update({'Date Started': None })
|
||||
data.update({"Date Started": None})
|
||||
return data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue