Skip to content

Commit

Permalink
Fix python warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Benau committed Mar 10, 2021
1 parent 453b4f8 commit e216646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate-ip-mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e216646

Please sign in to comment.