From 9847ca6ecc322aaa813eebccec726507132343ef Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Sat, 22 Aug 2020 00:08:50 +0800 Subject: [PATCH] typos --- common/domain.py | 1 - common/query.py | 1 - 2 files changed, 2 deletions(-) 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)