removes unneeded imports

This commit is contained in:
Mouse Reeve
2020-12-12 18:06:48 -08:00
parent 9b7f0366e7
commit 1e01e76ac2
5 changed files with 5 additions and 4 deletions

View File

@ -44,6 +44,7 @@ class BookWyrmModel(models.Model):
@receiver(models.signals.post_save)
#pylint: disable=unused-argument
def execute_after_save(sender, instance, created, *args, **kwargs):
''' set the remote_id after save (when the id is available) '''
if not created or not hasattr(instance, 'get_remote_id'):