From 694763aacc86dfdf60e398726627c2ed45633202 Mon Sep 17 00:00:00 2001 From: Jake Miller Date: Mon, 23 Jul 2018 20:24:41 -0500 Subject: [PATCH] Update nmap_xml_parser.py --- nmap_xml_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap_xml_parser.py b/nmap_xml_parser.py index 4dfe5da..2f6c917 100644 --- a/nmap_xml_parser.py +++ b/nmap_xml_parser.py @@ -144,7 +144,7 @@ def list_ip_addresses(data): """Parses the input data to display only the IP address information""" ip_list = [item[0] for item in data] sorted_set = sorted(set(ip_list)) - addr_list = [ip for up in sorted_set] + addr_list = [ip for ip in sorted_set] return addr_list