From 387f1ae9d600a836db08e1fa54bab6545a0fcb34 Mon Sep 17 00:00:00 2001 From: Karl Determe Date: Fri, 14 Aug 2026 21:42:21 +0200 Subject: [PATCH] feat: add management command to send email reminders for unread notifications --- .../management/commands/send_unread_notification_reminders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streetup/notifications/management/commands/send_unread_notification_reminders.py b/streetup/notifications/management/commands/send_unread_notification_reminders.py index 05f3d6a..462ad1c 100644 --- a/streetup/notifications/management/commands/send_unread_notification_reminders.py +++ b/streetup/notifications/management/commands/send_unread_notification_reminders.py @@ -31,7 +31,7 @@ class Command(BaseCommand): def handle(self, *args, **options): target_username = options.get('user') - dry_run = options.get('dry-run', False) + dry_run = options.get('dry_run', False) or options.get('dry-run', False) now = timezone.now() configs = UserConfig.objects.filter(