removes unneeded imports
This commit is contained in:
parent
9b7f0366e7
commit
1e01e76ac2
5 changed files with 5 additions and 4 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue