From a9c897c6c50e5f697841f512847ce92a82b70ef5 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Sun, 16 May 2021 00:10:04 +0200 Subject: [PATCH] Fix typo --- cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.py b/cron.py index 436beca0..22b4496f 100644 --- a/cron.py +++ b/cron.py @@ -831,7 +831,7 @@ def check_hibp(): LOG.d("Preparing list of aliases to check") queue = multiprocessing.Queue() for alias in Alias.query.order_by(Alias.hibp_last_check.asc().nullsfirst()).all(): - if not alias.needs_hibp_scan(): + if alias.needs_hibp_scan(): queue.put(alias.id) LOG.d("Need to check about %s aliases", queue.qsize())