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')
|
||||
subdomains = []
|
||||
for data in data:
|
||||
if not data.get('ip'):
|
||||
subdomain = data.get('subdomain')
|
||||
for infos in data:
|
||||
if not infos.get('ip'):
|
||||
subdomain = infos.get('subdomain')
|
||||
if subdomain:
|
||||
subdomains.append(subdomain)
|
||||
return subdomains
|
||||
|
||||
Reference in New Issue
Block a user