Rename module
This commit is contained in:
parent
368844af59
commit
c6e874a322
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
from modules.whois.ip import check_ip
|
||||
from modules.ip import check_ip
|
||||
from .utils import to_json_func, AkariTool
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ async def _(msg: Bot.MessageSession, domain: str):
|
|||
async def get_whois(msg, domain):
|
||||
try:
|
||||
info = whois.whois(domain)
|
||||
except whois.parser.PywhoisError as e:
|
||||
except whois.parser.PywhoisError:
|
||||
await msg.finish("whois.message.error.get_failed")
|
||||
|
||||
name_servers = [ns for ns in info['name_servers'] if ns.islower()]
|
||||
|
|
Reference in a new issue