Skip to content

Commit 8fca377

Browse files
committed
ruff
1 parent b835c92 commit 8fca377

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
@@ -152,9 +152,7 @@ def expand_targets(self, scan_id):
152152

153153
for target in copy.deepcopy(self.arguments.targets):
154154
for row in find_events(target, "subdomain_scan", scan_id):
155-
for sub_domain in json.loads(row)["response"]["conditions_results"][
156-
"content"
157-
]:
155+
for sub_domain in json.loads(row)["response"]["conditions_results"]["content"]:
158156
if sub_domain not in self.arguments.targets:
159157
self.arguments.targets.append(sub_domain)
160158
# icmp_scan

0 commit comments

Comments
 (0)