From 19e9c1d5dd4d855db2112dfaa3b672388734b427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E7=BE=85=E7=8B=BC?= Date: Fri, 2 Aug 2024 02:51:50 +0800 Subject: [PATCH] fix --- modules/whois/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/whois/__init__.py b/modules/whois/__init__.py index c230a220f5..519d568a77 100644 --- a/modules/whois/__init__.py +++ b/modules/whois/__init__.py @@ -80,7 +80,7 @@ async def get_whois(msg, domain): res.append(f"{msg.locale.t('whois.message.expiration_date')}{ msg.ts2strftime(expiration_date.timestamp())}" if expiration_date else '') res.append(f"{msg.locale.t('whois.message.name_servers')}{format(name_servers)}" if name_servers else '') - res.append(f"{msg.locale.t('whois.message.emails')}{format(emails)}" if emails else '') + res.append(f"{msg.locale.t('whois.message.email')}{format(emails)}" if emails else '') res.append(f"{msg.locale.t('whois.message.dnssec')}{format(dnssec)}" if dnssec else '') res.append(f"{msg.locale.t('whois.message.name')}{format(name)}" if name else '') res.append(f"{msg.locale.t('whois.message.organization')}{format(org)}" if org else '')