Don't skip items that without a label in English
This commit is contained in:
parent
523e5f2179
commit
053a2174e9
|
@ -145,8 +145,6 @@ def get_items_in_bbox(bbox):
|
|||
def get_markers(all_items):
|
||||
items = []
|
||||
for item in all_items:
|
||||
if "en" not in item.labels:
|
||||
continue
|
||||
locations = [list(i.get_lat_lon()) for i in item.locations]
|
||||
image_filenames = item.get_claim("P18")
|
||||
item = {
|
||||
|
|
Loading…
Reference in a new issue