diff --git a/project/customer/utils.py b/project/customer/utils.py index 4cab789..633aa75 100644 --- a/project/customer/utils.py +++ b/project/customer/utils.py @@ -40,7 +40,6 @@ def check_one_profile(profile, License, now_, manual=False): email = EmailMessage(subject=subject, to=(user_email,), body=email_body) email.send() - # флаг manual=False, если вызов из License.save() if not manual: licenses_remain = License.objects.filter(company=profile, date_from__gt = now_ + timedelta(days=1), status=consts.LICENSE_PAID, deleted=False)