aboutsummaryrefslogtreecommitdiff
path: root/tool/modules/dns.py
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-28 17:44:25 +0800
committercrupest <crupest@outlook.com>2022-11-28 17:44:25 +0800
commite45f657b3b14309dc901661881d3ad4152af9675 (patch)
tree15788eaf925e7dd71e4263cd6cbe4b36bd8d47d3 /tool/modules/dns.py
parente701d832e03dd12574621e49ba7478af90797e61 (diff)
downloadcrupest-e45f657b3b14309dc901661881d3ad4152af9675.tar.gz
crupest-e45f657b3b14309dc901661881d3ad4152af9675.tar.bz2
crupest-e45f657b3b14309dc901661881d3ad4152af9675.zip
Fix aio dns.
Diffstat (limited to 'tool/modules/dns.py')
-rw-r--r--tool/modules/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/modules/dns.py b/tool/modules/dns.py
index 761a1f5..5006d5f 100644
--- a/tool/modules/dns.py
+++ b/tool/modules/dns.py
@@ -34,7 +34,7 @@ def get_dkim_from_mailserver(domain: str) -> str | None:
capture_output=True, check=True)
value = ""
for match in re.finditer("\"(.*)\"", p.stdout.decode('utf-8')):
- value += match.groups[1]
+ value += match.group(1)
return value