Change domain update task to not log if no changes
This commit is contained in:
parent
16190d4838
commit
aa9d4da1c2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue