forked from mirrors/bookwyrm
Python formatting
This commit is contained in:
parent
a54014f693
commit
1f0c4f86c2
2 changed files with 3 additions and 3 deletions
|
@ -3,8 +3,8 @@ from bookwyrm.importer import Importer
|
||||||
|
|
||||||
|
|
||||||
class GoodreadsImporter(Importer):
|
class GoodreadsImporter(Importer):
|
||||||
""" GoodReads is the default importer, thus Importer follows its structure.
|
"""GoodReads is the default importer, thus Importer follows its structure.
|
||||||
For a more complete example of overriding see librarything_import.py """
|
For a more complete example of overriding see librarything_import.py"""
|
||||||
|
|
||||||
service = "GoodReads"
|
service = "GoodReads"
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Importer:
|
||||||
self.save_item(job, index, entry)
|
self.save_item(job, index, entry)
|
||||||
return job
|
return job
|
||||||
|
|
||||||
def save_item(self, job, index, data):# pylint: disable=no-self-use
|
def save_item(self, job, index, data): # pylint: disable=no-self-use
|
||||||
""" creates and saves an import item """
|
""" creates and saves an import item """
|
||||||
ImportItem(job=job, index=index, data=data).save()
|
ImportItem(job=job, index=index, data=data).save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue