Skip to content

Commit 76777cb

Browse files
committed
lint fixes
1 parent 9972417 commit 76777cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visualization/world_map_data.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@
5252
}
5353

5454

55+
# pylint: disable=E0606
5556
def main():
5657
with open(args.file, 'r', encoding='utf-8') as f:
5758
raw = json_loads(f.read())
5859

5960
with mmdb_database(args.country_db) as m:
60-
for asn, ips in raw.items():
61+
for ips in raw.values():
6162
for ip, reports in ips.items():
6263
ip_md = m.get(ip)
6364
if ip_md['country'] not in DATA['data']['values']:

0 commit comments

Comments
 (0)