diff --git a/modules/whois/domain.py b/modules/whois/domain.py index d85daba4..621f5e4d 100644 --- a/modules/whois/domain.py +++ b/modules/whois/domain.py @@ -3,9 +3,6 @@ import os import whois -iso = json.load(open(os.path.dirname(os.path.abspath( - __file__)) + './iso.json', 'r', encoding='utf-8')) - async def check_domain(domain: str): return whois.whois(domain) diff --git a/modules/whois/locales/zh_tw.json b/modules/whois/locales/zh_tw.json index 4a9b3e52..687417e4 100644 --- a/modules/whois/locales/zh_tw.json +++ b/modules/whois/locales/zh_tw.json @@ -1,7 +1,7 @@ { "whois.help": "查詢 IP 的 WHOIS 資訊", "whois.message.real_ip": "實際 IP:", - "whois.message.type": "類型:", + "whois.message.type": "類型:", "whois.message.postal_code": "郵編:", "whois.message.location": "位置:", "whois.message.organization": "機構:",