This commit is contained in:
Edward Betts 2021-05-15 14:05:21 +02:00
parent 89c45883ad
commit 77c7d520cd
2 changed files with 7 additions and 3 deletions

View file

@ -177,7 +177,7 @@ def get_markers(all_items):
"markers": locations,
"image_list": image_filenames,
"street_address": street_address,
"isa_list": [v["id"] for v in item.get_claim("P31")],
"isa_list": [v["id"] for v in item.get_claim("P31") if v],
}
items.append(item)