From 7db11fa7aad4b53a1f50988e83de2abfbae61dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 30 Oct 2019 22:12:25 +0200 Subject: [PATCH] Fix the senddeletionnotices command to take into account the new default SMS limit. --- hc/accounts/management/commands/senddeletionnotices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/accounts/management/commands/senddeletionnotices.py b/hc/accounts/management/commands/senddeletionnotices.py index 9a664ee1..465f752d 100644 --- a/hc/accounts/management/commands/senddeletionnotices.py +++ b/hc/accounts/management/commands/senddeletionnotices.py @@ -30,7 +30,7 @@ class Command(BaseCommand): # Exclude accounts with the deletion notice already sent q = q.exclude(deletion_notice_date__gt=year_ago) # Exclude paid accounts - q = q.exclude(sms_limit__gt=0) + q = q.exclude(sms_limit__gt=5) sent = 0 for profile in q: