diff --git a/common/domain.py b/common/domain.py index 3a00e6e..5867eb1 100644 --- a/common/domain.py +++ b/common/domain.py @@ -9,7 +9,6 @@ class Domain(object): :param str string: input string """ - def __init__(self, string): self.string = str(string) self.regexp = r'\b((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,63}\b' diff --git a/common/query.py b/common/query.py index b0ad133..be1a3a1 100644 --- a/common/query.py +++ b/common/query.py @@ -5,6 +5,5 @@ class Query(Module): """ Query base class """ - def __init__(self): Module.__init__(self)