From 1e9d731715b9945a524aa8a4116936c9c2124ac7 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 27 Apr 2021 09:52:30 +0200 Subject: [PATCH] Fix minimum amount for the send_mail_to_negative_balances script Signed-off-by: Yohann D'ANELLO --- management/commands/send_mail_to_negative_balances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/commands/send_mail_to_negative_balances.py b/management/commands/send_mail_to_negative_balances.py index 9171600..68ced88 100644 --- a/management/commands/send_mail_to_negative_balances.py +++ b/management/commands/send_mail_to_negative_balances.py @@ -27,7 +27,7 @@ class Command(BaseCommand): if options['negative_amount'] == 0: # Don't log empty notes - options['negative_amount'] = 0.01 + options['negative_amount'] = 1 notes = Note.objects.filter( Q(noteuser__user__memberships__date_end__gte=