diff --git a/tools/generate-ip-mappings.py b/tools/generate-ip-mappings.py index bec6ac0..2b96989 100755 --- a/tools/generate-ip-mappings.py +++ b/tools/generate-ip-mappings.py @@ -38,7 +38,7 @@ def ipv62int64(addr): if row[3] == "ZZ": continue # Skip empty latitude and longitude - if row[6] is "" or row[7] is "": + if row[6] == "" or row[7] == "": continue if row[0].find(':') == -1: