Skip to content

Commit 45c7425

Browse files
Update parse-geofeed.py
1 parent e01fade commit 45c7425

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/parse-geofeed.py

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def parse(geofeed_csv, json_file, ipver):
4848
continue
4949

5050
# Record the row
51+
if row[0] is None:
52+
continue
53+
5154
network = ipaddress.ip_network(row[0], strict=False)
5255
if (ipver == "ip" and network.version == 4) or (
5356
ipver == "ipv6" and network.version == 6

0 commit comments

Comments
 (0)