diff --git a/analysis/classes/zeekengine.py b/analysis/classes/zeekengine.py index 1aa2338..87ff7a4 100644 --- a/analysis/classes/zeekengine.py +++ b/analysis/classes/zeekengine.py @@ -397,7 +397,7 @@ class ZeekEngine(object): # This check can be good if the domain has already been cached by # the device so it wont appear in self.dns. - if any([cert["cn"].endswith(r["domain"]) for r in self.dns]): + if any(cert["cn"].endswith(r["domain"]) for r in self.dns): continue for domain in self.bl_domains: