diff --git a/privacy_consent/models/privacy_consent.py b/privacy_consent/models/privacy_consent.py index 71e77a8..98fe56b 100644 --- a/privacy_consent/models/privacy_consent.py +++ b/privacy_consent/models/privacy_consent.py @@ -130,12 +130,12 @@ class PrivacyConsent(models.Model): def write(self, vals): """Run server action on update.""" - result = super(PrivacyConsent, self).write(vals) + result = super().write(vals) self._run_action() return result def message_get_suggested_recipients(self): - result = super(PrivacyConsent, self) \ + result = super() \ .message_get_suggested_recipients() reason = self._fields["partner_id"].string for one in self: