Skip to content

Commit 87a35c8

Browse files
committed
fix: [ip] fix get ssh key ip
1 parent 539a1b3 commit 87a35c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lib/objects/SSHKeys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def get_passive_ssh_fingerprint_ips(fingerprint):
287287
if not res:
288288
return []
289289
hosts = []
290-
for host in res[0].get('hosts', []):
290+
for host in res:
291291
if not host.endswith('.onion'):
292292
hosts.append(host)
293293
return hosts

0 commit comments

Comments
 (0)