Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Nov 2, 2024
1 parent 14291ba commit 189a054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breathecode/assessment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def save(self, *args, **kwargs):
_instance = super().save(*args, **kwargs)

# Answer is being closed
if is_creating or self.status != old_status:
if is_creating or self.status != self.old_status:
signals.userassessment_status_updated.send_robust(instance=self, sender=self.__class__)

return _instance
Expand Down

0 comments on commit 189a054

Please sign in to comment.