mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
typos
This commit is contained in:
@@ -213,16 +213,6 @@ class Module(object):
|
||||
def match_subdomains(self, html, distinct=True, fuzzy=True):
|
||||
return utils.match_subdomains(self.domain, html, distinct, fuzzy)
|
||||
|
||||
@staticmethod
|
||||
def get_maindomain(domain):
|
||||
"""
|
||||
Get main domain
|
||||
|
||||
:param str domain: domain
|
||||
:return: main domain
|
||||
"""
|
||||
return Domain(domain).registered()
|
||||
|
||||
def save_json(self):
|
||||
"""
|
||||
Save the results of each module as a json file
|
||||
|
||||
+1
-1
@@ -622,7 +622,7 @@ def check_version(local):
|
||||
logger.log('INFOR', f'The current version {local} is already the latest version')
|
||||
|
||||
|
||||
def get_maindomain(domain):
|
||||
def get_main_domain(domain):
|
||||
return Domain(domain).registered()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user