Don't skip items that without a label in English

This commit is contained in:
Edward Betts 2021-05-14 15:10:22 +02:00
parent 523e5f2179
commit 053a2174e9

View file

@ -145,8 +145,6 @@ def get_items_in_bbox(bbox):
def get_markers(all_items): def get_markers(all_items):
items = [] items = []
for item in all_items: for item in all_items:
if "en" not in item.labels:
continue
locations = [list(i.get_lat_lon()) for i in item.locations] locations = [list(i.get_lat_lon()) for i in item.locations]
image_filenames = item.get_claim("P18") image_filenames = item.get_claim("P18")
item = { item = {