mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
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):
|
||||
""" 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"""
|
||||
|
||||
service = "GoodReads"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ class Importer:
|
|||
self.save_item(job, index, entry)
|
||||
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 """
|
||||
ImportItem(job=job, index=index, data=data).save()
|
||||
|
||||
|
|
Loading…
Reference in a new issue