Skip to content

Commit 746fde3

Browse files
committed
ruff
1 parent bddf71b commit 746fde3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nettacker/core/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,7 @@ def expand_targets(self, scan_id):
158158

159159
for target in copy.deepcopy(self.arguments.targets):
160160
for row in find_events(target, "subdomain_scan", scan_id):
161-
for sub_domain in json.loads(row)["response"]["conditions_results"][
162-
"content"
163-
]:
161+
for sub_domain in json.loads(row)["response"]["conditions_results"]["content"]:
164162
if sub_domain not in self.arguments.targets:
165163
self.arguments.targets.append(sub_domain)
166164
# icmp_scan

0 commit comments

Comments
 (0)