@shared_task()
def wipe_old_email_opens():
    """Clear old email opens"""
    # We don't need/care about email opens older than 2 weeks
    EmailOpen.objects.exclude(
        opened_at__gte=timedelta(weeks=2)-now()).delete()
dataset/ETHPy150Open ofa/connect/open_connect/mailer/tasks.py/wipe_old_email_opens/swapped operands of `-`