Skip to content

Commit 8dd5ae5

Browse files
committed
PEP logic
1 parent 2a950dd commit 8dd5ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cuckoo/common/abstracts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ def check_domain(self, pattern, regex=False):
841841
expression or not and therefore should be compiled.
842842
@return: boolean with the result of the check.
843843
"""
844-
if not "domains" in self.results["network"]:
844+
if "domains" not in self.results["network"]:
845845
return None
846846

847847
for item in self.results["network"]["domains"]:

0 commit comments

Comments
 (0)