Runs black

This commit is contained in:
Mouse Reeve
2021-03-08 09:54:02 -08:00
parent ad43e5c83a
commit 3bdfc341e4
4 changed files with 40 additions and 24 deletions

View File

@ -13,9 +13,9 @@ class Tombstone(ActivityObject):
type: str = "Tombstone"
def to_model(self, *args, **kwargs):# pylint: disable=unused-argument
''' this should never really get serialized, just searched for '''
model = apps.get_model('bookwyrm.Status')
def to_model(self, *args, **kwargs): # pylint: disable=unused-argument
""" this should never really get serialized, just searched for """
model = apps.get_model("bookwyrm.Status")
return model.find_existing_by_remote_id(self.id)