From 552073cd71ef6f5a6d38dfc5cb9ffcfbecde833f Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Fri, 9 Sep 2022 22:37:29 -0600 Subject: [PATCH] Change domain update task to not log if no changes --- jarvis/client/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/client/tasks.py b/jarvis/client/tasks.py index f8fe609..08b19f2 100644 --- a/jarvis/client/tasks.py +++ b/jarvis/client/tasks.py @@ -13,9 +13,9 @@ class TaskMixin: response.raise_for_status() data = await response.json() - self.logger.debug(f"Found {len(data)} changes to phishing domains") if len(data) == 0: return + self.logger.debug(f"Found {len(data)} changes to phishing domains") add = 0 sub = 0