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(