mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-25 20:37:48 +08:00
修复变量覆盖问题
This commit is contained in:
+3
-3
@@ -21,9 +21,9 @@ def filter_subdomain(data):
|
|||||||
"""
|
"""
|
||||||
logger.log('DEBUG', f'Filtering subdomains to be resolved')
|
logger.log('DEBUG', f'Filtering subdomains to be resolved')
|
||||||
subdomains = []
|
subdomains = []
|
||||||
for data in data:
|
for infos in data:
|
||||||
if not data.get('ip'):
|
if not infos.get('ip'):
|
||||||
subdomain = data.get('subdomain')
|
subdomain = infos.get('subdomain')
|
||||||
if subdomain:
|
if subdomain:
|
||||||
subdomains.append(subdomain)
|
subdomains.append(subdomain)
|
||||||
return subdomains
|
return subdomains
|
||||||
|
|||||||
Reference in New Issue
Block a user