pull/498/head
Sebdraven 2021-04-23 16:07:44 +02:00
parent 8fbe371eca
commit ff6470d0e2
1 changed files with 1 additions and 1 deletions

View File

@ -42,10 +42,10 @@ class OnypheClient:
def __summary_ip(self): def __summary_ip(self):
results = self.onyphe_client.summary_ip(self.attribute['value']) results = self.onyphe_client.summary_ip(self.attribute['value'])
print(results)
if 'results' in results: if 'results' in results:
for r in results['results']: for r in results['results']:
domain = r['domain'] domain = r['domain']
print(domain)
if type(domain) == list: if type(domain) == list:
for d in domain: for d in domain:
self.__get_object_domain_ip(d, 'domain') self.__get_object_domain_ip(d, 'domain')